Hacker GitHub

← All repos

dhartunian/1brcgo

View on GitHub ↗ ★ 38 Go

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2024-03-03 · latest 2024-03-03

Mentions per year 3 mentions · busiest year 2024 (3)
20082026
  1. Your expectation is correct. The Java version is more tuned. Here https://github.com/dhartunian/1brcgo/?tab=readme-ov-file#lea... , you can find a version that runs in 1.108 and is almost 3x better than the one you quoted. I think one can…
  2. …to reading the code for those solutions this week. Update: for reference, Jason Chu's solution ( https://github.com/dhartunian/1brcgo/blob/494eabd6ea958cc193... ) seems to be the fastest on my machine, and runs in about 1.3s!
  3. …more examples of 1BRC in Go, we had a friendly competition at work and collected the results here: https://github.com/dhartunian/1brcgo/ In addition to the loop-unrolling and bit-twiddling tricks that also show up in the fastest Java and…