[Neil] > One unexpected benefit: with PyEval_EvalFrame split out of > eval_code2 the interpreter is 5% faster on my machine. I > suspect the compiler has an easier time optimizing the loop in > the smaller function. [Christian] > Really!? I thought you told about a speed loss? You must be referring to an earlier post I made. That was purely speculation. I didn't time things until the weekend. Also, the 5% speedup is base on the refactoring of eval_code2 with the added generator bits. I wouldn't put much weight on the apparent speedup either. Its probably slower on other platforms. Neil
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