On Thu 02 Oct 2008 at 07:34PM, Shawn Walker wrote:
> In the case that you had a lot of items, I could see the try/except
> being faster since you wouldn't incur the lookup expense. In initial
> attempts, I could see the exception overhead slowing things down.
That has been my observation in the past, that the try/except overhead is
too much. The "key" thing is to make sure your key type has a fast hash
function.
-dp
--
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss