From af5bd32eebff770a550b3ea8052206ac0f7bdfce Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Fri, 20 Sep 2019 11:31:12 -0700 Subject: [PATCH] Use AHash for BLT HashSet --- src/backend/blt.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/backend/blt.rs b/src/backend/blt.rs index 3e85708..6c73048 100644 --- a/src/backend/blt.rs +++ b/src/backend/blt.rs @@ -5,8 +5,6 @@ use bear_lib_terminal; -use std::collections::HashSet; - use self::bear_lib_terminal::geometry::Size; use self::bear_lib_terminal::terminal::{ self, state, Event as BltEvent, KeyCode, @@ -19,7 +17,7 @@ use crate::theme::{BaseColor, Color, ColorPair, Effect}; use crate::vec::Vec2; // Use AHash instead of the slower SipHash -type HashMap = std::collections::HashMap; +type HashSet = std::collections::HashSet; enum ColorRole { Foreground,