Thanks to visit codestin.com
Credit goes to github.com

Skip to content

diepes/1brc

 
 

Repository files navigation

1 Billion row challenge - 2024

Code

  • Cloned form [https://github.com/tumdum/1brc]

    • My rust solution got to 26s (10s just to read file), this one is much simpler and runs in 5seconds, amazing.
    • One trick is the unsafe memmap of the 1brc file into ram, makes the reading much faster.
  • Added criterion benchmarking

    • $ cargo bench
    • View results under target/criterion/bench_1brc/report/index.html
    • Sample from report

ToDo

  • Test custom hash algorithm

About

2024 1brc 1Billion row challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%