-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up rarity check while indexing (#702)
Replace check for uncommon or better rarity by specialized, more efficient call. This method call contributed for 70% of the time in index_transaction, so it's worth adding a more specialized method. There's more potential here, as self.epoch() can likely be sped up significantly - the binary search still takes an inordinate amount of time. See issue #711.
- Loading branch information
VirtuallyThere
authored
Oct 25, 2022
1 parent
e9a6659
commit c5227b3
Showing
2 changed files
with
28 additions
and
1 deletion.
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