2 ms·
musl's malloc is 0.6 kloc and right now it has terrible multicore scaling, and i'm wondering how simply that can be fixed afaik neither c nor posix provides p
by kragen 3y ago
musl's malloc is 0.6 kloc and right now it has terrible multicore scaling, and i'm wondering how simply that can be fixed
afaik neither c nor posix provides portable cas, so while that's probably the best performing solution, it's probably not suitable for musl
discussion in https://news.ycombinator.com/item?id=38619599 https://news.ycombinator.com/item?id=38619599
- hayley-patton 3y agoC11 has atomics and CAS, is C11 okay?
- kragen 3y agohm! interesting!