1brc
1brc copied to clipboard
I optimized my solution:
- Eliminate redundant object creations in between
- Custom HashMap on purpose - Inspired by @spullara
- More performant temperature parsing - Inspired by @yemreinci
- JVM tweaks, decreased heap memory, and remove AlwaysPreTouch
Check List:
- [x] Tests pass (
./test.sh <username>
shows no differences between expected and actual outputs) - [x] All formatting changes by the build are committed
- [x] Your launch script is named
calculate_average_<username>.sh
(make sure to match casing of your GH user name) and is executable - [x] Output matches that of
calculate_average_baseline.sh
- Execution time: ~3s
- Execution time of reference implementation: ~3m.22s
Hi @gunnarmorling I recreated my PR since there were some stubborn files, couldn't rebase for some reason. Please review this one, instead of the other. It should be closed though. Many thanks!
00:04.959 now. Thx for participating!