3 ms·
Some interesting things that would be interesting to add to this: - thread safety ( not too hard to add on top of your liked list) - variable sized allocations
by sour-taste 2y ago
Some interesting things that would be interesting to add to this:
- thread safety ( not too hard to add on top of your liked list)
- variable sized allocations. Ideally something more akin to malloc. Could be done wastefully by rounding up to the nearest chunk size
- (as mentioned in the article) variable chunk sizes
- zeroing of memory before handing it back to users
- double free detection or even better full asan support
- 8dcc 2y agoI don't currently have much experience with thread safety, but it's something I should look into. Thank you.