rust/library/core/benches
Dylan DPC 1db7f690b1
Rollup merge of #103570 - lukas-code:stabilize-ilog, r=scottmcm
Stabilize integer logarithms

Stabilizes feature `int_log`.

I've also made the functions const stable, because they don't depend on any unstable const features. `rustc_allow_const_fn_unstable` is just there for `Option::expect`, which could be replaced with a `match` and `panic!`. cc ``@rust-lang/wg-const-eval``

closes https://github.com/rust-lang/rust/issues/70887 (tracking issue)

~~blocked on FCP finishing: https://github.com/rust-lang/rust/issues/70887#issuecomment-1289028216~~
FCP finished: https://github.com/rust-lang/rust/issues/70887#issuecomment-1302121266
2022-11-09 19:21:21 +05:30
..
ascii Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
char Add two more benchmarks for strictly ASCII and non ASCII cases 2021-02-26 11:42:59 -06:00
hash mv std libs to library/ 2020-07-27 19:51:13 -05:00
num Rename integer log* methods to ilog* 2022-08-09 10:20:49 -07:00
str Respond to review feedback, and improve implementation somewhat 2022-02-05 11:15:18 -08:00
any.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
ascii.rs Unify way to flip 6th bit. (Same assembly generated) 2021-02-08 12:21:36 +00:00
fmt.rs Add unicode fast path to is_printable 2022-05-31 10:51:35 +02:00
iter.rs add benchmark for iter::ArrayChunks::fold specialization 2022-11-07 21:44:24 +01:00
lib.rs Rollup merge of #103570 - lukas-code:stabilize-ilog, r=scottmcm 2022-11-09 19:21:21 +05:30
ops.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
pattern.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
slice.rs Stop manually SIMDing in swap_nonoverlapping 2022-02-21 00:54:02 -08:00
str.rs Optimize core::str::Chars::count 2022-02-05 11:15:17 -08:00