Skip to content

Conversation

@jlogan03
Copy link
Owner

0.11.0 2026-01-15

Changed

  • !Remove recursive implementations
    • All dimensionalities now use const-generic bounded implementations
    • For dimensions higher than const-unrolling limit, a run-time loop of the same form is used
    • No notable change in performance for high dimensions
    • No change to API for ::interpn convenience functions
    • All methods are now compatible with static analysis of memory usage via cargo-call-stack
  • Refactor internals to reduce duplication
  • Improve form of early bounds checks to be interpreted correctly by the compiler
    • 30% speedup in some cases, no effect on most
    • Bounds checks done via iterator do not always result in optimizing out panic branches
  • Test cubic methods in higher dimensions

@jlogan03 jlogan03 changed the title Reduce duplication Eliminate recursion Jan 16, 2026
@jlogan03 jlogan03 merged commit 2d1abd9 into main Jan 16, 2026
13 checks passed
@jlogan03 jlogan03 deleted the jlogan/no-recursive branch January 16, 2026 03:03
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.

2 participants