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 of Mplots on CPU by optimizing output cell calculation #121

Open
zpzim opened this issue Oct 1, 2022 · 0 comments
Open

Comments

@zpzim
Copy link
Owner

zpzim commented Oct 1, 2022

We don't need to continuously perform division and multiplication when computing the output cell for a value in the distance matrix where we know the neighboring value's output cell already. Instead, we can compute the cell boundaries and check whether the value we are computing is outside of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant