20 4 / 2012

Decided to test PyPy because the PLY lexer isn’t much use on Python implementations that can use the C module.

Initial tests of the PLY CIF lexer with PyPy show that it’s marginally slower than with CPython.

PyPy can’t import modules from within PDB due to NumPy dependency; however, most modules in PDB are compatible with NumPyPy. Determine least-ugly way to implement this.

Implemented in NumPyPy: (based on status)

numpy.arccos
numpy.array
numpy.cos
numpy.dot
numpy.identity
numpy.pi
numpy.sin
numpy.sqrt
numpy.sum
numpy.trace
numpy.transpose
numpy.zeros

Not implemented in NumPyPy:

numpy.linalg.det (Vector)
numpy.random (NeighborSearch, Vector)

In other news, thinking about switching to blogspot for ability to embed gists. But 2 lines of code isn’t worth a gist, and anything worth a gist is probably long enough to link to. But syntax highlighting! Undecided.