-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize performance by using one ArrayBuffer for search values and s…
…haring that between operations Squashed commit of the following: commit b582287b6f5d6930cf2e086f750e36a4cb92e3cf Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 15:15:00 2024 +0200 fix tests commit 523901b6539d174f277f90934fe333bc816eef92 Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 15:14:04 2024 +0200 optimize Int32Array -> Int8Array for search strings, as its all mapped to 0 - 26 commit 20f5c361a1fb7bc3a8d741c37ead68b500af562b Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 15:08:16 2024 +0200 explain index better commit 9dc9c0ed8c0040697cd939583d9b95dc85000c4f Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 15:05:05 2024 +0200 add explaining code comments commit d6f79d0b5ace740ddff70f2f2e727af15291fabc Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 15:00:49 2024 +0200 search use new clamp option commit 88ca64ccc66dc7f81d442a368e4e5bc8ec63100e Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 14:59:36 2024 +0200 fix char set to skip not being respected commit 5a8ba90d8531fbcb3911b66182c1227f35ab896a Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 14:41:39 2024 +0200 remove console logs commit 8d1b8b5afeaef6a33ced7536f5d224f69ce5904b Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 14:41:31 2024 +0200 improve base26 conversions: - don't precalculate table, as we lookup too many chars that we never need - directly convert to numbers, not string representation, as we insert numbers (optimized 2 conversion steps) commit 26acbe52cfcee6f4b535b8e79c2974e3046a621a Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 14:16:56 2024 +0200 fix search broken for unicode chars commit 8d63f452ecfd6a53fd8041c7b9bc75e5117c9a70 Author: Hanno J. Gödecke <[email protected]> Date: Fri Sep 27 14:13:21 2024 +0200 clean ups commit 209da8d7204ec03ef444ac525990a634932d46c1 Author: Hanno J. Gödecke <[email protected]> Date: Thu Sep 26 16:55:49 2024 +0200 wip: fixing search commit d1236c98244e704a7ed08ac186e66388d0d90f1f Author: Hanno J. Gödecke <[email protected]> Date: Thu Sep 26 16:03:54 2024 +0200 wip: working, search broken Co-authored-by: Szymon Kapała <[email protected]>
- Loading branch information
Showing
4 changed files
with
216 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.