3 ms·
Systems should make malloc fast so I don't have to write my own wrapper. Sure, in some cases I know a lot more, but why confuse the heck out of valgrind when I
by wbl 9y ago
Systems should make malloc fast so I don't have to write my own wrapper. Sure, in some cases I know a lot more, but why confuse the heck out of valgrind when I don't have to.
- kazinator 9y agoNo malloc optimization can eliminate the waste of re-initializing an object from scratch. The fastest caching will be caching of almost-ready-to-go objects that don't require allocation and initialization from scratch. No malloc can provide that while sticking with malloc semantics.