Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: reuse algs for [N]T arrays #17031
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.