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

cmd/compile: reuse algs for [N]T arrays #17031

mdempsky opened this issue Sep 8, 2016 · 0 comments

cmd/compile: reuse algs for [N]T arrays #17031

mdempsky opened this issue Sep 8, 2016 · 0 comments


Copy link

@mdempsky mdempsky commented Sep 8, 2016

For arrays [N]T where T is not a pure memory type, we currently generate separate algorithms for each distinct value of N. Instead, we could emit simple stub algs that load N into a register/argument, and then jump to a common []T implementation.

Unclear if this shows up often enough in practice to be beneficial though.

Related #17029.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.