seriesoftubes/site
Frederic Jung 4682f16730
Routing makes far less garbage: no temporary arrays or closures in its hot loop
The group split runs over an index range with one scratch array instead of
map/reduce/forEach and slice, leftover exits go into one reused array and are
sorted in place (insertion sort for short lists; both sorts are stable, so
the order is the same), flows are split without per-flow arrays, and the hot
loops use indexes instead of for...of. Without Auto-TE, exits whose path is
already full are not called at all. One routing pass on the big network
allocates 23 MB in Chromium instead of 66 MB.

Routing results are identical. The speed test's plain path now also uses the
original group split and sort, and a new test routes around a full 10G link
with Auto-TE (and a spill script) and compares both paths; planted bugs in
the split, the sort and both full-path skips are caught.

Big network vs main, two runs: headless routing -23% to -30%, Chromium
desktop -14% to -27%, phone -15% to -27%. Steps 2-4 together vs c76dd4d:
Chromium desktop routing -49%, phone -34%, a game day -26% and -30%.
2026-10-26 13:41:13 +01:00
..
i18n Fix five bugs: unlightable cables, own-IX sites, idle router swaps, loan badge, cable-less cities 2026-10-26 09:12:01 +01:00
images Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
404.html Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
apple-touch-icon.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
CNAME Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
d000727792a2ac2fdaa24ec953ed6d2b.txt Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
favicon.ico Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
favicon.svg Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
icon-192.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
icon-512.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
icon-maskable-512.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
index.html Routing makes far less garbage: no temporary arrays or closures in its hot loop 2026-10-26 13:41:13 +01:00
llms.txt Point players to How the Internet Works 2026-10-24 22:12:38 +02:00
robots.txt Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
site.webmanifest Rework the phone layout and make the game installable 2026-10-24 22:52:55 +02:00
sitemap.xml Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
sw.js Add Portuguese (Brazil) translation 2026-10-25 19:58:05 -03:00