forked from kvandake/lexorank-ts
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Added new method betweenLexoRanks which allows to generate …
…multiple between lexoRanks based on user input (#1) Closes issue reported on upstream repo: kvandake#28. A new method betweenLexoRanks has been introduced to efficiently generate the intermediate lexoRank values in bulk. Previously, the process involved identifying the exact middle rank each time, leading to rapid growth of lexoRanks. The updated approach involves creating a slice based on the desired number of lexoRanks, optimizing the computation by using slices instead of repeatedly halving.
- Loading branch information
1 parent
eaf14d5
commit c16ac45
Showing
3 changed files
with
185 additions
and
0 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
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