diff options
| author | eunhhu <[email protected]> | 2026-09-26 17:29:16 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-26 17:29:16 +0100 |
| commit | 3d277c7714d7a8e2e0e7f9eb627722b83991effd (patch) | |
| tree | 7d86063db5abf4dc73825141cb6188cdeb72fb9b /research/experiments/006-native-save-latency | |
| parent | 768317d789a01d722fe7455d792fed11e6579b5c (diff) | |
| download | pure-3d277c7714d7a8e2e0e7f9eb627722b83991effd.tar.gz pure-3d277c7714d7a8e2e0e7f9eb627722b83991effd.zip | |
Format integers without printf
pure_format_number, behind every number a text shows (interpolation, the
views pure-serve answers, pure-run), printed integers with
snprintf("%.0f"): hundreds of nanoseconds each on the Pi, most of a page of
20 rows. Integers below 1e15 now take their digits directly (21 ns),
identical to printf on 2.6 million random integers.
Diffstat (limited to 'research/experiments/006-native-save-latency')
0 files changed, 0 insertions, 0 deletions
