-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative: Remove BigInt arithmetic and loops in BalanceDurationRelative
Similar to previous commit, if we are limiting calendar units then we can replace these loops with one dateAdd + dateUntil each, and it's no longer necessary to calculate with BigInt. This should not affect any results, but has an observable effect on calls to custom calendar methods.
- Loading branch information
Showing
3 changed files
with
83 additions
and
157 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