Closed tekkac closed 6 months ago
Describe the Feature Request
Interpolation::ConstantLeft
Describe Preferred Solution
Add a binary search version of interpolation instead of existing linear algorithm
Describe Alternatives
Replace the existing interpolation with the fast method. Not chosen for compatibility with existing contracts.
Related Code
https://github.com/keep-starknet-strange/alexandria/blob/c1a604eaba40b026c2b477a9b293e40244432e0a/src/numeric/src/interpolate.cairo#L58
Additional Context
PR is provided
If the feature request is approved, would you be willing to submit a PR? (Help can be provided if you need assistance submitting a PR)
Feature Request
Describe the Feature Request
Interpolation::ConstantLeft
Describe Preferred Solution
Add a binary search version of interpolation instead of existing linear algorithm
Describe Alternatives
Replace the existing interpolation with the fast method. Not chosen for compatibility with existing contracts.
Related Code
https://github.com/keep-starknet-strange/alexandria/blob/c1a604eaba40b026c2b477a9b293e40244432e0a/src/numeric/src/interpolate.cairo#L58
Additional Context
PR is provided
If the feature request is approved, would you be willing to submit a PR? (Help can be provided if you need assistance submitting a PR)