Here are a few 'hacks' to speed up Sudoku Explainer (SE).
In the Patterns Game, a lot of time is spent re-rating puzzles for submission, so saving a few milliseconds here and there eventually accumulate to seconds, minutes (maybe hours!)...
The source to SE (1.2.1) was posted by rjamil here.
The serate code (1.2.1.3) can be downloaded from here.
1.
Remove the GUI bits (if using SE to rate puzzles only).
2.
Comment out all the 'assert' statements in the code, code changes required.
3.
Remove the puzzle 'checks' stuff (the puzzle is already a valid submission!), code changes required.
4.
Flatten the directory structure (i.e. ALL files in /sudoku), lots of code changes required.
5.
Remove other GUI bits (htmls, gifs), even GUI specific source and code (mostly html stuff).
6. Finally,
Remove all comments. Build. Obfuscate the jar file!
7. Testing
Use puzzles from a Patterns Game. Run thru once with vanilla SE. Verify that custom SE produces the same ratings.
[Edit 10 Aug] If the GUI is required, then the directory structure cannot be flattened.
.