Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Performance by passing more code down to ndarray #154

Closed
abstractqqq opened this issue May 8, 2024 · 1 comment
Closed

Improve Performance by passing more code down to ndarray #154

abstractqqq opened this issue May 8, 2024 · 1 comment

Comments

@abstractqqq
Copy link
Owner

There are still some hand written Rust code that computes things like dot product, L2 distances, etc. Ndarray has shown better performance and given current use cases, it will be 0 cost to cast underlying data to ndarrays.

@abstractqqq
Copy link
Owner Author

For distance function in KNN, I suspect using a function reference is slowing down execution.

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

No branches or pull requests

1 participant