News for hackers. Stuff that matters.
Re:In C++, is empty() faster than comparing the size with zero? by jcelerier on Thursday October 28, 2021 @06:30PM (#29032862)
in my personal experience it also works great for desktop software
Re:In C++, is empty() faster than comparing the size with zero? by saagarjha on Thursday October 28, 2021 @11:00PM (#29034711)
That depends. It’s awful for the libraries that your OS provides to support your desktop app, for example.