On 1/31/2011 5:31 AM, Steven D'Aprano wrote: > Jurjen N.E. Bos wrote: >> I was impressed by the optimizations already in there, but I still >> dare to suggest an optimization that from my estimates might shave off >> a few cycles, speeding up Python about 5%. >> The idea is simple: change the byte code argument values from two >> bytes to one. > > > Interesting. Have you seem Cesare Di Mauro's WPython project, which > takes the opposite strategy? > > http://code.google.com/p/wpython2/ The two strategies could be mixed. Some 'word codes' could consist of a bytecode + byte arg, and others a real word code. Maybe WPython does that already. Might end up being slower though. -- Terry Jan Reedy
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