Hello..
Im developing huge win32 api server using IOCP framework..
I have a decent c++ source which uses its own buffer class to allocate BYTES (not strings), and its used to use the same memory (once allocated) so theres no need to allocate/delete it over and over again..
I got used to STL and I really dont like own implementations of linked lists or buffer classes, and I wonder if I would use std::string instead of that buffer class, would there be any loss of preformance? I know string allocates new buffer automatically (does that affect a lot of preformance in bigger projects?).
The other reason why I would like to use STL is to make code smaller, and easier..
What do you think? What STL type would be better to use instead of BYTE for this purpose? std::string?
Thanks for help



LinkBack URL
About LinkBacks


