aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/morling/onebrc/CalculateAverage_semotpan.java
diff options
context:
space:
mode:
authoradri <adria.cabezasantanna@datadoghq.com>2024-01-20 21:27:34 +0100
committerGitHub <noreply@github.com>2024-01-20 21:27:34 +0100
commit0a7726cc643dc4068884af37a1280b5094454e25 (patch)
treee63a83262922f097f7e0c60b0b4256ca056580f8 /src/main/java/dev/morling/onebrc/CalculateAverage_semotpan.java
parent36ffed1315192130478b9291fe1dead03f5c0c58 (diff)
Improving first iteration by avoiding string creation as much as possible (#516)
- It avoids creating unnecessary Strings objects and handles with the station names with its djb2 hashes instead - Initializes hashmaps with capacity and load factor - Adds -XX:+AlwaysPreTouch
Diffstat (limited to 'src/main/java/dev/morling/onebrc/CalculateAverage_semotpan.java')
0 files changed, 0 insertions, 0 deletions