1 2 3 4 5 6
this is a translation from C++ to python, with some small changes an optimisations. the coding style isn't pure python. Zurcher Jeremy <jeremy@asynk.ch>