rust/library/alloc/src
Karl Meakin a8c669461f optimization: Don't include ASCII characters in Unicode tables
The ASCII subset of Unicode is fixed and will never change, so we don't
need to generate tables for it with every new Unicode version. This
saves a few bytes of static data and speeds up `char::is_control` and
`char::is_grapheme_extended` on ASCII inputs.

Since the table lookup functions exported from the `unicode` module will
give nonsensical errors on ASCII input (and in fact will panic in debug
mode), I had to add some private wrapper methods to `char` which check
for ASCII-ness first.
2025-09-07 15:21:24 +02:00
..
boxed remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
collections Constify conversion traits 2025-09-01 21:38:26 -04:00
ffi remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
raw_vec Rollup merge of #145750 - btj:drop-alloc-guard, r=tgross35 2025-09-04 10:01:53 +10:00
vec Add cast_init and cast_uninit methods for pointers 2025-08-12 16:57:56 -04:00
wtf8 Diff-massaging commit 2025-08-20 20:31:33 -04:00
alloc.rs Pass alloc-variant-zeroed to LLVM 2025-08-20 17:08:46 +01:00
borrow.rs Constify conversion traits 2025-09-01 21:38:26 -04:00
boxed.rs remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
bstr.rs Fully test the alloc crate through alloctests 2025-03-07 19:11:13 +00:00
fmt.rs Fix format string grammar in docs and improve alignment error message 2025-08-27 20:45:41 +05:30
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Constify conversion traits 2025-09-01 21:38:26 -04:00
macros.rs Streamline the format macro. 2025-04-28 06:56:13 +10:00
rc.rs Add Default impls for Pinned Box, Rc, Arc 2025-07-15 17:41:31 -04:00
slice.rs Remove [T]::array_chunks(_mut) 2025-07-27 23:03:07 -07:00
str.rs optimization: Don't include ASCII characters in Unicode tables 2025-09-07 15:21:24 +02:00
string.rs Rollup merge of #145562 - tbu-:pr_simplify_to_string_spec, r=tgross35 2025-08-27 11:26:49 +02:00
sync.rs remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
task.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00