Converted some size() to empty(), for performance and readability
Found & auto-fixed by clang-tidy’s readability-container-size-empty check.
empty() is guaranteed O(1) while size() is not, thus could be faster in some cases.
Found & auto-fixed by clang-tidy’s readability-container-size-empty check.
empty() is guaranteed O(1) while size() is not, thus could be faster in some cases.