76 seconds for 1e9 records

This commit is contained in:
Aurel Feer 2024-08-18 11:43:27 +02:00
parent 80b0cf2263
commit 37cf09f4d0

View File

@ -18,7 +18,7 @@ fn main() {
let file = File::open(filename).unwrap();
let mut buffered_reader = BufReader::with_capacity(1024, file);
let mut buffered_reader = BufReader::with_capacity(1 << 14, file);
let mut line = String::new();
let mut stations = HashMap::<String, Station>::new();