go-1brc

module
v0.0.0-...-fb4e271 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: MIT

README

go-1brc

This is my attempt at the 1BRC to see what I can come up with, but in Go.

time go run ./cmd/gen

This command generates a measurements.txt file.

time go run ./cmd/justread

This command just reads measurements.txt. I use this to get a baseline of how quickly the read should be.

TODO
  • Make chunk size a parameter

time go run ./cmd/proc

This is the main implementation. It processes measurements.txt.

TODO
  • Make chunk size a parameter

Directories

Path Synopsis
cmd
gen command
justread command
proc command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL