Replies: 1 comment
-
Overkill, we don't have time for this anymore. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Before implementing https://github.com/sablierhq/v2-core/issues/16, we should validate our assumption that a binary search algo will be faster than the current iterative approach to find the current segment time in the
getWithdrawableAmount
function.Binary search may not be faster, because after you find the result, you then still have to iterate over all segments up to the result.
Beta Was this translation helpful? Give feedback.
All reactions