Skip to content

Monitored::Timer: Optimize nameCheck

Adam Edward Barton requested to merge abarton/athena:nameCompar into main

Follow up from !66278 (merged)

The name is unlikely to be smaller than 5 letters. Most common case is the method compares 5 char and returns, so that should be optimized. string_view ensures no unnecessary text copying.

cc @ssnyder

Edited by Adam Edward Barton

Merge request reports

Loading