nice and round sizes is death to most mallocs, since they usually add 8 bytes overhead.
Thus, on linux allocating 65536 bytes tends to use 69632 bytes or so.
/ Per Hedbor ()
Previous text:
2004-08-09 11:15: Subject: Image.Image
No, but now most code do malloc(X*Y*foo+1), which probably isn't good when malloc works on blocks bigger than bytes. X*Y*foo tend to have a nice, round size.
/ Martin Nilsson (DivX Networks)