Ron Adam wrote:
> It's all very close.  I think the frozenset({1,2,3}) example will get 
> faster if {..} notation becomes a frozen set, and set({...}) example will 
> slow down a bit.

frozenset({1,2,3}) can be optimized and reduced to a simple return in
frozenset_new() just like str("abc") returns the same string object. I
assume set({...}) is going to be as fast or maybe faster than set([...]).

Christian

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to