gunnarmorling / 1brc

1️⃣🐝🏎️ The One Billion Row Challenge -- A fun exploration of how quickly 1B rows from a text file can be aggregated with Java
https://www.morling.dev/blog/one-billion-row-challenge/
Apache License 2.0
6k stars 1.8k forks source link

anestoruk - one more improvement #653

Closed anestoruk closed 6 months ago

anestoruk commented 7 months ago

Check List:

Hello, one more improvement from me: city array byte buffer is copied only when new Record instance is created.

(there is also a second improvement - splitting the memory into a more even chunks - but this change will have no effect on a test that is run against 8-core machine)

gunnarmorling commented 6 months ago

00:08.896 now.