diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-15 17:15:15 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-15 23:50:41 +0300 |
| commit | 9d7c6ec3de935ef846e9f9a0512129990a1ddec4 (patch) | |
| tree | fdb9ce58a87eb63f805af2bdd75fcafd273228f5 /tests/cli.sh | |
| parent | 79a002a21a27c7616261ae0c2cc8341e0ab92faa (diff) | |
Cache the background photo list for filter pages
_stats_random_background scanned the photos directory once per page; with a
filter mini-album per stat bucket that is thousands of scans. Load the sorted
photo list once into a global (STATS_BG_PHOTOS) that render_filter_pages
populates before forking the render jobs, so each background subshell inherits
the cached array and just indexes into it. The seeded pick is unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'tests/cli.sh')
0 files changed, 0 insertions, 0 deletions
