rust/library
Jubilee c6cdd457eb
Rollup merge of #125606 - diondokter:opt-size-int-fmt, r=cuviper
Size optimize int formatting

Let's use the new feature flag!

This uses a simpler algorithm to format integers.
It is slower, but also smaller.
It also saves having to import the 200 byte rodata lookup table.

In a test of mine this saves ~300 bytes total of a cortex-m binary that does integer formatting.
For a 16KB device, that's almost 2%.

Note though that for opt-level 3 the text size actually grows by 116 bytes.
Still a win in total. I'm not sure why the generated code is bigger than the more fancy algo. Maybe the smaller algo lends itself more to inlining and duplicating?
2024-06-06 21:10:08 -07:00
..
alloc Rollup merge of #125982 - xTachyon:fix-linked-list, r=jhpratt 2024-06-05 01:14:33 -07:00
backtrace@5e05efa879 Bump backtrace to 0.3.72 2024-05-27 19:53:31 -07:00
core Rollup merge of #125606 - diondokter:opt-size-int-fmt, r=cuviper 2024-06-06 21:10:08 -07:00
panic_abort Add support for Arm64EC to the Standard Library 2024-04-15 16:05:16 -07:00
panic_unwind Replace libc::c_int with core::ffi::c_int 2024-04-14 07:11:51 +00:00
portable-simd Rollup merge of #123168 - joshtriplett:size-of-prelude, r=Amanieu 2024-06-05 01:14:29 -07:00
proc_macro Rollup merge of #123168 - joshtriplett:size-of-prelude, r=Amanieu 2024-06-05 01:14:29 -07:00
profiler_builtins Update cc crate to v1.0.97 2024-05-08 15:06:35 +00:00
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Raise DEFAULT_MIN_STACK_SIZE to at least 64KiB 2024-06-05 23:22:37 -07:00
stdarch@df3618d9f3 feat: update stdarch submodule for intrinsics on ARM 2024-05-15 15:38:58 -04:00
sysroot Add flag to sysroot 2024-05-11 14:31:55 +02:00
test Apply x clippy --fix and x fmt 2024-05-30 09:51:27 +08:00
unwind Fix unwinding on 32-bit watchOS ARM 2024-05-05 15:41:55 +02:00