76 seconds for 1e9 records
This commit is contained in:
parent
80b0cf2263
commit
37cf09f4d0
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user