Hi, I think I improved the time quite a lot in revision c98931f5191b. The memory usage is known to be larger on PyPy for this kind of operations. For a more general program with a lot of instances it can be equivalent or slightly better than CPython. A bientôt, Armin.