homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author krumms
Recipients
Date 2006年06月11日.02:13:11
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Attached is a partial implementation of PEP 275.
It should offer a slight performance enhancement over
if/elif/else, although it won't be nearly as fast as a
lookup table generated at compile time (as the PEP
suggests). However, it is more flexible than a
compile-time generated lookup table in that it accepts
expressions - not just constants - for each case clause.
No new opcodes were added.
Cheers,
Tom
History
Date User Action Args
2007年08月23日 15:52:46adminlinkissue1504199 messages
2007年08月23日 15:52:46admincreate

AltStyle によって変換されたページ (->オリジナル) /