rust/library/alloc/benches
Ben Kimock 6e6d0cbf83 Add debug assertions to some unsafe functions
These debug assertions are all implemented only at runtime using
`const_eval_select`, and in the error path they execute
`intrinsics::abort` instead of being a normal debug assertion to
minimize the impact of these assertions on code size, when enabled.

Of all these changes, the bounds checks for unchecked indexing are
expected to be most impactful (case in point, they found a problem in
rustc).
2022-03-29 11:05:24 -04:00
..
btree Add #[must_use] to remaining alloc functions 2021-10-15 11:46:49 -04:00
binary_heap.rs Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
lib.rs Vec::dedup optimization - add benches 2021-03-16 14:41:26 +01:00
linked_list.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
slice.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
str.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
string.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
vec_deque_append.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
vec_deque.rs add benchmark for From<[T; N]> in VecDeque 2021-08-28 19:46:58 -07:00
vec.rs Add debug assertions to some unsafe functions 2022-03-29 11:05:24 -04:00