monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] using empty() instead of size()


From: Derek Scherger
Subject: Re: [Monotone-devel] using empty() instead of size()
Date: Mon, 22 Sep 2008 20:52:09 -0600

Even if size does have to traverse a list to count the elements one would expect that traversing an *empty* list should be reasonably quick.
All the same, empty() does seem a bit easier on the eyes and if it wins on performance too then what the heck.

Cheers,
Derek




reply via email to

[Prev in Thread] Current Thread [Next in Thread]