Skip to content

java: add solutions for year 2016, day 18 #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 9, 2020
Merged

java: add solutions for year 2016, day 18 #109

merged 3 commits into from
Jan 9, 2020

Conversation

saser
Copy link
Owner

@saser saser commented Jan 9, 2020

This was easy enough. I was initially excited since I thought one could speed up part 2 by finding a loop, but it turns out there are no loops. :( Part 1 runs in about 35 microseconds, but part 2 runs in about 330 milliseconds (both benchmarks are on a warmed-up JVM).

@saser saser merged commit 15f484d into master Jan 9, 2020
@saser saser deleted the java/2016/18 branch January 9, 2020 15:59
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.

1 participant