Collection Performance: High-Performance Emptiness Checks for Concurrent & Immutable Collections
Count vs IsEmpty can be the difference between fast code and a performance disaster. For some immutable and concurrent collections, the wrong choice is tens of thousands of times slower.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed