]> git.lizzy.rs Git - rust.git/commit
Use more efficient scheme for display u128/i128
authorkadmin <julianknodt@gmail.com>
Fri, 28 Aug 2020 07:11:44 +0000 (07:11 +0000)
committerkadmin <julianknodt@gmail.com>
Mon, 28 Sep 2020 20:38:38 +0000 (20:38 +0000)
commit3f1d2aadd19c3cb71f1d88fb0b0c565808a3c040
tree2b3365ebf699c66c4b586e75bcc24723341b7485
parentd62d3f7fa9a91d933213cc10e20e740608983f64
Use more efficient scheme for display u128/i128

Add zero padding

Add benchmarks for fmt u128

This tests both when there is the max amount of work(all characters used)
And least amount of work(1 character used)
library/core/benches/fmt.rs
library/core/src/fmt/num.rs