rust/library/core/src/alloc
Mark Rousskov b81e788d16 Indicate that multiplication in Layout::array cannot overflow
This allows LLVM to optimize comparisons to zero before & after the
multiplication into one, saving on code size and eliminating an (always
true) branch from most Vec allocations.
2023-11-23 22:05:45 -05:00
..
global.rs Fix docs for alloc::realloc 2023-03-01 23:36:41 +00:00
layout.rs Indicate that multiplication in Layout::array cannot overflow 2023-11-23 22:05:45 -05:00
mod.rs Rollup merge of #107916 - reez12g:issue-107040, r=Amanieu 2023-05-30 12:57:38 +02:00