Steven D'Aprano wrote: > On Sat, 15 Nov 2008 01:27:54 am Daniel Furrer wrote: > [snip] >> We're looking for: >> - Hints as to which python compiler would be best to work on. (The >> official Python compiler package seems very nice to work with >> actually...) - If there are any requests in the area of optimization >> that we could have a look at > > Even though the PEP has been rejected, I do like the idea of optimising > chains of if...elif: > > http://www.python.org/dev/peps/pep-0275/ As a side note: Cython does this optimisation and translates a series of if-else statements (as well as "or" expressions) into C switch statements. The speedup is pretty impressive at times. Stefan
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4