Re:Please grow your buffers exponentially
by cirwin on Tuesday November 04, 2014 @03:01PM
(#8558732)
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