Commit Graph
3 Commits
Author SHA1 Message Date
dipetm b9ccd12cc4 Invalidate on sort instead of changing sort_stats
sort_stats() has five callers; making its fallback branch copy changed behaviour for
all of them to suit one cache. The cache now clears itself where the sort happens, so
the shared helper is left alone and the in-place branch keeps not allocating.
2026-08-07 16:35:36 +03:00
dipetm 2935831fc2 Tighten the comments and make the re-sort test check the order
The sort test only compared object identity, which said nothing about the result;
it now asserts the programs come back in the new order. Verified by breaking the
invalidation on purpose - the test fails.
2026-08-07 15:30:22 +03:00
dipetm 640f5e748d perf: reuse the program aggregation until the process list changes 2026-08-07 14:37:57 +03:00