Skip to content

Conversation

PivasDesant
Copy link

Description

Implements caching for vanishing polynomial evaluations to avoid redundant computations when interpolating at the same point multiple times.

  • Add vp_cache: RefCell<HashMap<F, F>> field
  • Implement caching logic in compute_lagrange_coefficients
  • Add test to verify caching functionality
  • All existing tests pass (150+ tests)

Closes: TODO comment in lagrange_interpolator.rs

@PivasDesant PivasDesant requested a review from a team as a code owner August 14, 2025 18:26
@PivasDesant PivasDesant requested review from z-tech, Pratyush and mmagician and removed request for a team August 14, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant