aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/010-one-sync-commit/run.py
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 17:29:16 +0100
committereunhhu <[email protected]>2026-09-26 17:29:16 +0100
commit3d277c7714d7a8e2e0e7f9eb627722b83991effd (patch)
tree7d86063db5abf4dc73825141cb6188cdeb72fb9b /research/experiments/010-one-sync-commit/run.py
parent768317d789a01d722fe7455d792fed11e6579b5c (diff)
downloadpure-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/010-one-sync-commit/run.py')
0 files changed, 0 insertions, 0 deletions