sharksforarms / deku

Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization
Apache License 2.0
1.14k stars 55 forks source link

Add more clippy uninlined_format_args fixes #316

Closed wcampbell0x2a closed 1 year ago

github-actions[bot] commented 1 year ago

Benchmark for adee1bd

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | deku_read_bits | 802.0±28.54ns | 819.4±21.20ns | +2.17% | | deku_read_byte | **23.8±0.64ns** | 24.8±0.94ns | **+4.20%** | | deku_read_enum | 39.2±1.01ns | 39.7±0.82ns | +1.28% | | deku_read_vec | 1929.7±59.22ns | 1960.6±42.48ns | +1.60% | | deku_read_vec_perf | 1951.9±55.30ns | 1915.6±57.75ns | -1.86% | | deku_write_bits | 151.9±4.34ns | 150.5±4.02ns | -0.92% | | deku_write_byte | 82.3±2.33ns | 81.8±2.46ns | -0.61% | | deku_write_enum | 139.0±3.27ns | 136.4±4.61ns | -1.87% | | deku_write_vec | **6.3±0.19µs** | 7.5±0.14µs | **+19.05%** | | deku_write_vec_perf | 6.5±0.25µs | **6.1±0.16µs** | **-6.15%** |