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

Optimized squaring routine #9

Open
ckormanyos opened this issue Jan 8, 2020 · 1 comment
Open

Optimized squaring routine #9

ckormanyos opened this issue Jan 8, 2020 · 1 comment
Assignees

Comments

@ckormanyos
Copy link
Owner

Make an optimized squaring routine to multiply n*n.

@ckormanyos ckormanyos self-assigned this Jan 8, 2020
@ckormanyos ckormanyos added the enhancement New feature or request label Jan 12, 2020
@ckormanyos ckormanyos added optimization and removed enhancement New feature or request labels Jun 12, 2020
@ckormanyos
Copy link
Owner Author

Restrict this optimization at first to limb-ranges of school multiplication where O(n^2) complexity is expected to receive the greatest benefit.

Identify locations in the class and inline functions to detect automatically where x * x and x *= x are happenning. In this way, do not explicitly make a square()-ing method.

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