Motivation
Preferred solution:
- find out whether there are specific bottlenecks or whether Java code is consistently slower than equivalent C++ code (program profiling)
- hand-optimize code for performance if there are specific bottlenecks
- use faster hardware if needed