Re: Difference between memory and string pools

2002-05-17 Thread Peter Gibbs
Hi Mike We have three memory_pools: memory, string, and constant_string. Is there any reason that string and memory are distinct? (aside from code simplicity). Seems to create a lot of duplicate logic with the need to support a string version and a generic buffer version of everything,

Re: Difference between memory and string pools

2002-05-17 Thread Dan Sugalski
At 9:00 AM +0200 5/17/02, Peter Gibbs wrote: A side effect of the split pools is targeted compaction i.e. the buffer pool gets compacted only when it is full, and the string pool likewise - this does provide a performance benefit in situations where one pool grows regularly and the other does

Difference between memory and string pools

2002-05-16 Thread Mike Lambert
Heya, We have three memory_pools: memory, string, and constant_string. Is there any reason that string and memory are distinct? (aside from code simplicity). In general, is it possible that we will have other constant buffer values besides strings. Basically, how come we don't just have a