list.IsEmpty() vs. list.Count()==0
I'm all for not fixing something that isn't broke, so this is more of a muse than anything...
Would there be any realized benefits in converting 'empty list' checks to the 'list.isempty()' method?
There are a few in the code already, but there are a lot of 'list.count()==0' types in there as well.
It probably wouldn't do anything for small population servers, but it might save some cycles on heavy-use ones.
__________________
Uleat of Bertoxxulous
Compilin' Dirty
|