Improving string::find such that it ultimately gets converted to calls to memchr and memcmp. This is an intermediate patch to see if there is an interest
in this optimization. I'm planning to propagate this change to similar functions string::rfind ... etc.
Worked in collaboration with Sebastian Pop.
A character traits class need only accept pointers, so the name _RandomAccessIterator is misleading when you are passing them directly to _Traits::find/_Traits::compare. Why not just const _CharT*? Then you can strip out all the iterator_traits circumlocution as well.