Skip to content

Conversation

@schlawg
Copy link
Contributor

@schlawg schlawg commented Nov 5, 2024

a low effort port to scala 3 syntax. somehow it is roughly 8-10% faster than the java version on sbt test. maybe because of tailrec? i haven't the faintest clue

did this while investigating lichess-org/lila#16317 and it's fine if we just want to stick with java. it's doubtful the apparent speedup running test cases would have any measurable effect on lila

@schlawg
Copy link
Contributor Author

schlawg commented Jan 19, 2025

recovered the performance lost on clock tests. so this one appears to be faster all around.

@ornicar ornicar merged commit 217b1c3 into lichess-org:master Jan 20, 2025
1 check passed
ornicar added a commit to lichess-org/lila that referenced this pull request Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants