2 ms·
Nice. I wonder how Rust would fare, given that it has no garbage collector.
by satvikpendem 3y ago
Nice. I wonder how Rust would fare, given that it has no garbage collector.
- tjpnz 3y agoYou can disable GC for Golang but don't think it will improve on 4s.
- n8henrie 3y agoThere are a few rust solutions in the "Show and Tell" linked above, for example this fairly readable one at 15.5s: https://github.com/gunnarmorling/1brc/discussions/57 https://github.com/gunnarmorling/1brc/discussions/57 A comment above referencing Python "polars" actually has rust polars, std, and SIMD solutions as well (SIMD was fasted, but less readable for a hobbyist like me). EDIT: https://github.com/Butch78/1BillionRowChallenge/tree/main https://github.com/Butch78/1BillionRowChallenge/tree/main