boostorg / core

Boost Core Utilities
133 stars 83 forks source link

include benchmark code for find_*_of algorithm #114

Open sehe opened 2 years ago

sehe commented 2 years ago

boost::core::string_view comes with a very elegant optimized find_{first,last}{,_not}_of implementation.

I wonder in how far the runtime performance depends on available compiler optimizations. It would be nice to have the benchmark code included into the repository so there is a reference people can use to check with new toolchains/configs.