4 ms·
It should be noted that, with PyPy, the Python example executes in 3.924s.
by kenneth_reitz 15y ago
It should be noted that, with PyPy, the Python example executes in 3.924s.
- sitharus 15y agoAnd F# running under Mono executes in 0.950s and the code is shorter, where standard Python 2.6 takes 1m36s. This isn't about pure speed.
- dekomote 15y agoBut, does it webscale?
- th_yc 15y agoYes, since PyPy (and Rubinius) have JITs (like V8), that is the fairer comparison. Nevertheless this highlights just how helpful JITs can be for cpu-bound code -- makes me wish PyPy was more ubiquitous (and gets py3k support sooner rather than later).