Artifact 7a394793b7a9cb2d718007b20aafb59376f74d2d9bba67eb2d4d9cf3424d3481:
- File
internal/fsltype/julian.go
-
2026-10-29 03:06:14
— part of check-in
[f7eb80beae]
on branch main
— perf(fsltype): format a 53-bit text Julian day in float64, no math/big
Fossil's %.17g of a text Julian day is computed in the platform's long double, which this package emulates with big.Float at that precision. A 53-bit long double is a double, and big.Float at 53 bits with round-to-nearest-even is exactly IEEE double arithmetic over this range, so that case (wasm, macOS arm64, Windows) is now computed in float64, each product converted explicitly so none fuses into a multiply-add.
The big.Float path remains for the 64- and 113-bit long doubles and is left out of wasm builds, whose long double is 53 bits; a wasm TinyGo binary loses math/big's floating point, about 5 KB gzipped. A test checks the float64 path against the big.Float one at 53 bits over 50,000 random times and every ~1 s of three days, and the existing fossil-binary sweep passes unchanged. Stored times do not change. (user: [email protected], size: 7370) [annotate] [blame] [check-ins using]
-
2026-10-29 03:30:01
— part of check-in
[0ffed7ff5f]
on branch main
— Merge pull request #526 from danmestas/perf/wasm-size-and-refusal
Return receive-budget refusals as *RefusedError; libfossil_nohttp tag cuts the TinyGo engine ~97 KB (user: [email protected], size: 7370) [annotate] [blame] [check-ins using]
- 2026-10-29 04:21:39 — part of check-in [fa65d2c2d5] on branch feat/horizon-peer-serving — Merge remote-tracking branch 'origin/main' into feat/horizon-peer-serving (user: [email protected], size: 7370) [annotate] [blame] [check-ins using]
-
2026-10-29 03:06:14
— part of check-in
[f7eb80beae]
on branch main
— perf(fsltype): format a 53-bit text Julian day in float64, no math/big