Summary in the conclusion:<p>&quot;The end result is an implementation several orders of magnitude faster than the current reference implementation in Java. ... [Python] makes the first version easy to implement and provides plenty of powerful tools for optimization later when you understand where and how you need it.&quot; [edited to be a statement instead of rhetorical question]