Custom allocator to quickly highlight std :: wstring

Is there any open-source distributor (possibly in Boost) that can be used with std::wstring , implementing a quick distribution pattern similar to the one shown in this blog post ?

Boost.Pool is not suitable for this purpose .

+4
source share
1 answer

No, no (I searched a couple of hours, once). If you do not want to release memory during use, this is quite simple. If you want to release it dynamically, then it will be a lot of work to manage free lists, LRU, etc.

0
source

Source: https://habr.com/ru/post/1410863/


All Articles