Greg Ewing <greg at cosc.canterbury.ac.nz> writes: > James Y Knight <foom at fuhm.net>: > >> On the test that probably puts my change in the most positive light >> possible: "x = 0; while x < 50000000: x = x + 1", it achieves about a >> 50% increase in speed. More normal integer-heavy things seem to be at >> most 20% faster. > > And you have to ask yourself -- how integer-heavy does > typical Python code get? > > Most Python code I write deals with higher-level things > most of the time -- strings, lists, dicts, class instances. It's kinda hard to work seriously with lists and strings without integers :-) This was, at the very least, a worthwhile experiment... Cheers, mwh -- Python enjoys making tradeoffs that drive *someone* crazy <wink>. -- Tim Peters, comp.lang.python
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