soapcpp2: is_eq_nons() optimizations (28% improvement on win)
Development toolkit for Web Services and XML data bindings for C & C++
Brought to you by:
engelen
is_eq_nons() optimizations reducing the runtime on a Windows box (skylake) from 5.72s to 4.11s when chewing on VirtualBox's soap API.
With [#178] applied at took soapcpp2 for a spin in Visual Studio's analyzer and it pointed to is_eq_nons() as a hot spot, esp. the strlen of the second string (t) got lots of hits. Changes:
Cheers,
knut.
I'd just change the
is_eq_ns()to the following to speed this up a bit: