Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cpeterso
on Nov 4, 2014
|
parent
|
context
|
favorite
| on:
Please grow your buffers exponentially
For small allocations, memory allocators often cache power-of-two-sized memory blocks, so a 1.5x growth factor will likely be rounded up to the next bucket size and have unused space (internal fragmentation).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: