3 ms·
Doubling is actually pretty memory efficient in real world scenarios. i.e. in libxml, using 2n buffers wasted less memory than an additional 10 bytes on the end
by cirwin 12y ago
Doubling is actually pretty memory efficient in real world scenarios. i.e. in libxml, using 2n buffers wasted less memory than an additional 10 bytes on the end of each.
https://mail.gnome.org/archives/xml/2012-May/msg00009.html https://mail.gnome.org/archives/xml/2012-May/msg00009.html