3 ms·
Also: CPython and MRI don't do optimizing compilation, which is not entirely obvious considering they both do compile to bytecode and optimize slightly.
by haberman 12y ago
Also: CPython and MRI don't do optimizing compilation, which is not entirely obvious considering they both do compile to bytecode and optimize slightly.
- TheLoneWolfling 12y agoDon't know about MRI. With Python (as it's the reference implementation, I don't see the need to call it by another name) all, IIRC, compilation does with optimization enabled is remove assert and if __debug__: statements. Oh, and docstrings. So yeah... slightly. To put it mildly. (Note that with this "benchmark", PyPy has (almost) no difference in runtime between the abstracted and non-abstracted versions.)