Martin Gammelsæter
c62ab422d0
Inline <EscapeDefault as Iterator>::next
2022-03-10 15:35:22 +01:00
Martin Gammelsæter
7f4f4fc34c
Use indexing instead of .get_unchecked() for LUT lookup
...
Based on @paolobarbolini's tip that the unsafe block was unnecessary in
this case.
Not much left of `hexify()` after this, so seemed clearer to just inline
it.
2022-03-09 22:21:35 +01:00
Martin Gammelsæter
876142417c
Optimize ascii::escape_default by using a digit LUT
2022-03-09 17:10:34 +01:00
John Kugelman
68b0d86294
Add #[must_use] to remaining core functions
2021-10-30 18:21:29 -04:00
klensy
cccd6e0e83
EscapeDefault: change range
field to Range<u8>
, reducing struct size 24 -> 6 bytes
2021-09-18 14:20:00 +03:00
Christiaan Dirkx
1fb3256fcb
Replace all fmt.pad
with debug_struct
2021-04-21 14:38:24 +02:00
Amjad Alsharafi
3323a26144
Fixed some intra-docs links in library/core
2020-09-18 07:49:29 +08:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00