Answer stability and product-owner: New's godoc says where the load lands, plainer Performance wording, regenerate before re-pinning, and no redundant sort

This commit is contained in:
2026-10-03 17:52:29 +02:00
committed by Lillem4n
parent cc8797744b
commit 590681ed24
4 changed files with 9 additions and 10 deletions
-2
View File
@@ -5,7 +5,6 @@ import (
"fmt"
"io/fs"
"path"
"sort"
"strings"
)
@@ -120,7 +119,6 @@ func loadShipped(root *folder, wanted []unloadedCategory) {
if len(sites) == 0 {
return
}
sort.Slice(sites, func(i, j int) bool { return sites[i].path < sites[j].path })
if err := categoryBinding(sites, root.children).bind(); err != nil {
panic(internalError("binding shipped categories: %v; after a change under data/, regenerate shippedindex.go", err))
}