-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
The compiler makes an enormous number of copies of vectors and strings #2543
Comments
Hanging the general "too many copies in the front-end" bugs off this (including copies of vecs and a few other AST node types). I suspect the solutions are all closely related. |
Do we know how to fix them? I feel like the obvious approach is putting more vectors and strings behind @ pointers (or actually trying to use our @-vectors), but we seem to be wanting to remove a lot of support for that... |
Visiting for bug triage, email 2013-08-12. There's of course also the approach of maintaining intern vector/string pools and passing around indices into the pools. |
Run the GC more often on Linux, not MacOS Linux has more testing and is also faster in CI, we should do the extra slow checks there.
We should go through and eliminate all of them. This is not hard, but will be quite time consuming.
I suspect a large part of the reason the compiler is slow is due to this.
The text was updated successfully, but these errors were encountered: