I have a record size of 29 bytes and I want
to malloc a buffer to hold an unknown number
of records. When that buffer gets full, realloc
another block on.
What is the optimum buffer size to malloc.
Is it best to malloc in 1K size blocks, the system page size or
something else?
Specifics
---------
OS : Solaris 2.5.1
Page Size: 8192 bytes
Any input would be appreciated!
John
Sent via Deja.com http://www.deja.com/
Before you buy.