|
From: James W. W. <ja...@wr...> - 2004-06-11 18:14:01
|
While trying to write a large object to a memory storage object, I noticed that more than half the time was spent in e3storage_memory_grow. Memory storage objects grow linearly, but it is well known that you get better performance if you grow buffers exponentially (e.g., double the size each time you need to grow.) Shall I make exponential growth an option, or just change the standard behavior? I can't think of any reason that existing software would be hurt by the change. -- James W. Walker, ScriptPerfection Enterprises, Inc. <http://www.write-brain.com/> |