I've read the article and an alternative has occured to me. Why not using "object" declaration instead of "class"? This way you can create a large block which will contain 10000 of such objects at once and then assign correct pointers to each of them. In addition you may use a replacement memory manager like FastMM to improve the performance.Originally Posted by technomage
Bookmarks