Closed this issue a year ago · 1 comments
This will avoid the allocations incurred by calling K::to_string on potentially every lookup. For example:
K::to_string
impl<File> Dir<File> { pub fn get_file(&self, name: &K) -> Option<File> where K: PartialEq<str> + PartialOrd<str>; // ... }
This was fixed by commit 33250ce