Brock Pytlik wrote:
It just seemed logical so that you a developer doesn't have to remember to make this check any time client_update_index is called...
The difference is that on a non-empty index, it would open the roughly 6 index files and read their first lines twice instead of once. So, it probably doesn't make much of a difference, but it is a slight performance penalty just like the thing you pointed out about having the boolean logic in the wrong order.

If that's the case, then feel free to handle it explicitly. I'll take whatever performance I can get :)

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to