]> git.lizzy.rs Git - rust.git/commit
DroplessArena: Allocate objects from the end of memory chunk
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Mon, 21 Sep 2020 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Mon, 21 Sep 2020 13:36:45 +0000 (15:36 +0200)
commitc7e887c64abe846dea4a0ee7a1cfee843bb8e820
tree09e66f0286994f33144606f1200974ef4cfd94e8
parent70148d7b3161912381b1a5c427c3a690e12c5b24
DroplessArena: Allocate objects from the end of memory chunk

Allocating from the end of memory chunk simplifies the alignment code
and reduces the number of checked arithmetic operations.
compiler/rustc_arena/src/lib.rs