Skip to content

Conversation

@neutrinoceros
Copy link
Collaborator

This in itself isn't a sufficient reason to make interpn a hard requirement but it seems worth considering if we're going to go with #305 any way.

@neutrinoceros neutrinoceros force-pushed the perf/fast-equalizer branch 3 times, most recently from 9507b8a to 986eb10 Compare December 21, 2025 19:03
@neutrinoceros
Copy link
Collaborator Author

(I see no actual performance change with this change, even with artificially large bin counts)

@neutrinoceros
Copy link
Collaborator Author

I think I would actually prefer we keep using numpy.interp for this one function for maximal portability (this 1D interpolation is never a bottleneck), but I am frustrated that it still promotes to double precision unconditionally. The ideal approach would be to improve numpy.interp directly...

@neutrinoceros
Copy link
Collaborator Author

I went down a different route: I'm working on re-implementing histogram equalization in rust. Currently, the work in ongoing within rlic, but I may end up spinning an entirely new package.

@neutrinoceros neutrinoceros deleted the perf/fast-equalizer branch January 2, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant