Use ahash for hashing
This commit is contained in:
parent
c11b30526d
commit
0f69f267d8
|
@ -6,6 +6,7 @@ edition = "2018"
|
|||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
ahash = "0.3.5"
|
||||
err-derive = "0.2.4"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use std::{
|
||||
collections::HashMap,
|
||||
fs::File,
|
||||
io::{self, BufRead, BufReader},
|
||||
num::ParseIntError,
|
||||
|
@ -8,6 +7,7 @@ use std::{
|
|||
str::FromStr,
|
||||
};
|
||||
|
||||
use ahash::AHashMap as HashMap;
|
||||
use err_derive::Error;
|
||||
|
||||
pub struct Segmenter {
|
||||
|
|
Loading…
Reference in New Issue