Yao G.:
> I think the idea of a memory pool or freelist is good. Can you point me  
> where can I see your libs?

Instead of just giving you a link to the dlibs1, I've extracted the relevant 
code and adapted it to D2:
http://codepad.org/Ug5Z5qum

I have tested it enough with D1 but only a bit with D2, so be careful. This 
code can be improved in numerous ways :-) Something similar can be useful in 
Phobos2 too, I think Tango has something similar (but probably better).

Bye,
bearophile

Reply via email to