-
Notifications
You must be signed in to change notification settings - Fork 59
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
Unexpected allocations #496
Comments
One difference that I've noticed between Lines 34 to 57 in 3712291
In the first case, col is type However at this stage something already went wrong, I believe. By inserting prints I can ask for the |
I've noticed that this allocates and I'm surprised.
I get (after running it once to compile):
Basically one allocation per element of the vector.
Compare this with the cost of saving just ints without the wrapper:
Am I doing something wrong?
I've reproduced this for:
Manifest
The text was updated successfully, but these errors were encountered: