This is a most excellent place for technology news and articles.
There are decades of articles on c++ optimizations, that say "use empty() instead of size()", which is same as here.
There are decades of articles on c++ optimizations, that say "use empty() instead of size()", which is same as here.