Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.17.0
Description
Currently, no matter what any array construction without data creates 0 sized layouts and passes itself to Rust's allocator API, thus OS then comes back to the program and does the job.
This issue is two-fold:
- First, this creates indirection and UB in a sense.
- Second, degrades the performance for the merging simd, merging arrays, constructing arrays etc. and intermediate arrays when doing ops. over them.
The solution would be:
- Having UB solved without a performance downside.
- Improve the performance
Attachments
Issue Links
- links to