[Python-3000] Set literals - another try (original) (raw)
Collin Winter collinw at gmail.com
Tue Aug 8 21:50:20 CEST 2006
- Previous message: [Python-3000] Set literals - another try
- Next message: [Python-3000] Set literals - another try
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 8/8/06, Josiah Carlson <jcarlson at uci.edu> wrote:
I personally don't see much of a use for set literals, considering that there is a non-ambiguous spelling of it currently; set(...), whose only cost above and beyond that of a set literal is a global name lookup.
I thought one of the main arguments in favor of set literals is that a literal form would allow the compiler to perform optimisations that the set(...) spelling doesn't allow.
Collin Winter
- Previous message: [Python-3000] Set literals - another try
- Next message: [Python-3000] Set literals - another try
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]