diff options
| author | kotorvr <332716892+kotorvr@users.noreply.github.com> | 2026-11-22 21:52:32 +0000 |
|---|---|---|
| committer | kotorvr <332716892+kotorvr@users.noreply.github.com> | 2026-11-22 21:52:32 +0000 |
| commit | 870e0553d082abd655423647864c3d2b2fd4adee (patch) | |
| tree | 7a06f3c8dae236cfaef0e739667746bbfa28e2ae /docs/testing.md | |
| parent | e4f028b56bad71a59ee8aaffa96526069153716a (diff) | |
ttpf_assets: look at each file once when removing replaced DDS files
Review: the same-file check compared every replaced name with every row's
file, os.path.samefile per pair, so a pool with thousands of rows and
replaced files took minutes to hours. Each row's file is now stat'ed once
into a set of (device, inode), and each replaced name once against it.
The removal moves into remove_replaced(), and a test fails if the check
is done per pair (50 rows and 50 replaced files: at most 100 stats).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/testing.md')
0 files changed, 0 insertions, 0 deletions