Use empty() since it should be prefered as it has, following the standard, a constant time complexity regardless of the containter type. The same is not guaranteed for size(). Fix for: [db/version_set.cc:2250]: (performance) Possible inefficient checking for 'column_families_not_found' emptiness. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>main
parent
8ce050b51b
commit
b8b7117e97
Loading…
Reference in new issue