Original Post
Hello everybody . I'm actually trying to find a way reduce the amount of call to new/delete in my simple string class. Actually, every time a string is constucted it allocate memory space in order to store the char array, which in final drive to a lot of small memory allocation... I wonder if anybody of you know a kind of memory allocator, that can help me to make less memory allocation ( pre allocating a string buffer ... ?? ..., using a small object memory allocator ... ??? ...) If you have any idea... Thanks !