-
Notifications
You must be signed in to change notification settings - Fork 486
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
Slowdown when using deeply nested vector #1154
Comments
Similar bug reported to |
Note that rayon is not involved in that deeply-nested |
@cuviper I also think that alloc and dealloc might be the issue, but I didn't think that creating nested vectors would have this much overhead. I will check using profiler though. Check the code now, I have simplified it further. It turns out recursion was not the problem. |
On WSL2 Ubuntu 22.04 it runs fine, but I can't generate |
Posted the issue in rust repo: rust-lang/rust#123447 |
Turns out heapalloc was the culprit as mentioned in the issue I posted in Rust Lang repo. |
OS:
Windows 11 23H2 22631.3296 (64 bit)
Rust version:
1.77.1
Rayon version:
1.10.0
Minimum reproducible example elaborating the issue:
The text was updated successfully, but these errors were encountered: