Thom Chiovoloni
|
13e380d798
|
Benchmark the unaligned case for is_ascii, and add missing SAFETY
|
2020-07-05 14:51:05 -07:00 |
|
Thom Chiovoloni
|
e1d4db6055
|
Add benchmark for slice is_ascii using align_to
|
2020-07-05 14:33:27 -07:00 |
|
Thom Chiovoloni
|
63e2e2e326
|
Avoid vec! allocation in is_ascii_slice_* benches
|
2020-07-05 10:23:50 -07:00 |
|
Thom Chiovoloni
|
980d8e1a0b
|
Optimize is_ascii for &str and &[u8]
|
2020-07-05 10:23:50 -07:00 |
|
David Tolnay
|
c737169fe5
|
Format libcore with rustfmt (including tests and benches)
|
2019-12-06 20:20:51 -08:00 |
|
David Tolnay
|
3f1e391369
|
Exclude manually arranged ascii tables from rustfmt
|
2019-12-06 20:16:12 -08:00 |
|
Oliver Scherer
|
02f9167f94
|
Have tidy ensure that we document all unsafe blocks in libcore
|
2019-11-06 11:04:42 +01:00 |
|
Aaron Kutch
|
363940bbe1
|
Change ... to ..= where applicable
|
2019-06-14 12:24:38 -05:00 |
|
Tobias Bucher
|
564771fa23
|
Tiny docs fix
|
2019-04-06 17:27:00 +02:00 |
|
Simon Sapin
|
7fad370fe9
|
ASCII uppercase: add "subtract multiplied bool" benchmark
|
2019-03-19 13:41:59 +01:00 |
|
Simon Sapin
|
c1ec29ace0
|
ASCII uppercase: add "subtract shifted bool" benchmark
|
2019-03-19 08:32:15 +01:00 |
|
Simon Sapin
|
0ad91f73d9
|
Simplify u8::to_ascii_{upp,low}ercase while keeping it fast
|
2019-03-19 00:50:26 +01:00 |
|
Simon Sapin
|
4a3241a815
|
Benchmark more possibles impls of [u8]::make_ascii_uppercase
|
2019-03-19 00:49:06 +01:00 |
|
Simon Sapin
|
6d3840b23a
|
Add benchmarks for u8::is_ascii*
|
2019-03-18 23:56:50 +01:00 |
|
Simon Sapin
|
525a043c6b
|
Rename src/libcore/benches/ascii_case.rs to ascii.rs
|
2019-03-18 23:32:36 +01:00 |
|