Use ahash for hashing

This commit is contained in:
Dirkjan Ochtman 2020-05-28 19:56:13 +02:00
parent c11b30526d
commit 0f69f267d8
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ edition = "2018"
license = "Apache-2.0"
[dependencies]
ahash = "0.3.5"
err-derive = "0.2.4"
[dev-dependencies]

View File

@ -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 {