Re:Drop millions of allocations by using a linked list (2015)
by JoeAltmaier on Friday March 12, 2021 @08:46AM
(#26435745)
It can be an order of magnitude faster to do it yourself, depending on how balled up the runtime library has gotten. If you can make some simple guarantees like "I'll realloc similar sized blocks mostly" and "I'm single-threaded thru these calls" then you can drop the bulk of the runtime drama.
[ Parent
| on HN ]
There are no comments on this comment yet.