Say that loadShipped follows the reads of everything it loads, and what the 45 ms holds

This commit is contained in:
2026-10-03 18:00:05 +02:00
committed by Lillem4n
parent f608040986
commit 1538d1ab2c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -673,8 +673,8 @@ when a source carries it.
Sweden fits whole in 700 KB; every US place of 10,000 would pass a megabyte and fetch
1,200 counties of TIGER files, so the threshold sits where the two countries match in
size, and `--min-population` and `--streets-per-locality` on the import scripts build a
fuller set. The two trees add about 20 ms to loading the shipped set whole, which took
about 45 ms.
fuller set. Loading the whole shipped set took about 45 ms, about 20 ms of it the two
trees.
Withdrawn by the maintainer on 2026-10-03; `todo.md` item 78 replaces it.
+2 -2
View File
@@ -95,8 +95,8 @@ func unloadedReads(root *folder, dir []string, scope nodeScope) []unloadedCatego
return out
}
// loadShipped loads the shipped categories wanted, every category they read, and the table
// family of each one it loads, then binds them as a whole load binds.
// loadShipped loads the shipped categories wanted and, for each category it loads, every
// category it reads and its table family, then binds all it loaded as a whole load binds.
// TestEveryShippedCategoryLoadsAlone reaches each category, so a failure here means a stale
// index.
func loadShipped(root *folder, wanted []unloadedCategory) {