mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf: re-implement trie using Map
This commit is contained in:
@@ -56,7 +56,7 @@ describe('Trie', () => {
|
||||
|
||||
expect(trie.delete('rate')).toBeTrue();
|
||||
expect(trie.size).toBe(1);
|
||||
expect(trie.delete('tar')).toBe(true);
|
||||
expect(trie.delete('tar')).toBeTrue();
|
||||
expect(trie.size).toBe(0);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user