Why Nostr? What is Njump?
2024-06-04 11:34:44

nina on Nostr: udev hwdb update too slow on musl? just prealloc more lol (this brings it from like ...

udev hwdb update too slow on musl? just prealloc more lol

https://github.com/chimera-linux/cports/commit/a10dec76b86bcc055b73312dc6dff71439922b9a

(this brings it from like uh, 20s to around 1s on my machine (more on arm sbc potatoes) because musl memcpy slow and this does *a lot* of reallocs on a buffer that ends up like 12 megabytes, but of course it's a gross workaround)
Author Public Key
npub17vmxk9l4auqyhnvfwcurv4wnvtlvt60ca2avk406tq6auz2svmmsaruj7y