Closed DBJDBJ closed 3 years ago
Hi, thanks for your comment! Unfortunately I am about to decide to mark it as incompatible with MSVC. Differences form one version of MSVC to another makes it too hard to maintain.
That is true indeed. Although. Trying to compete with std::
implementations has just an educational value. I assume.
Why do you think so? The allocator indeed offers much better performance than the std::
version. Did you tried release version on MSVC? std::
is much generic while the Moya allocator makes some assumptions that makes it faster.
It is very slow compared to
std::allocator
. In any case, the rules on how to create allocators are now as the standard requires. This means to compile in DEBUG mode on MSVC one needs to make sure MSVC std lib iterators are not built in a debug mode.