Use wmemchr in optimizations by AlexGuteniev · Pull Request #4894 · microsoft/STL (original) (raw)

Follow up on #4873

I didn't measure the effect. I expect it to be negative currently, until @mcfi changes are picked up.

I changed the compatibility part too, as it was meant to optimize originally, why shouldn't save it, if possible.