strange thing: using strings where binary format would be much more appropriate...
anyway, interesting code challenge
The One Billion Row Challenge (1BRC) is intended to be a fun exploration of how far modern Java can be pushed for aggregating one billion rows from a text file. .
What is the 1BRC challenge?
Input: A text file containing temperature values for a range of weather stations. Each row is one measurement in the format <string: station name>;<float: measurement>.Output: For each unique station, find the minimum, average and maximum temperature recorded and emit the final result on STDOUT in station name’s alphabetical order with the format {<station name>:<min>/<average>/<max>;<station name>:<min>/<average>/<max>}.
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 : 1BRC on the Web
links to experiments on MANY languages and platforms!
Excellent learning resources.
Excellent learning resources.
But what happens if you do it in Go?
No comments:
Post a Comment