upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/testing.md
diff options
context:
space:
mode:
authorkotorvr <332716892+kotorvr@users.noreply.github.com>2026-11-22 21:52:32 +0000
committerkotorvr <332716892+kotorvr@users.noreply.github.com>2026-11-22 21:52:32 +0000
commit870e0553d082abd655423647864c3d2b2fd4adee (patch)
tree7a06f3c8dae236cfaef0e739667746bbfa28e2ae /docs/testing.md
parente4f028b56bad71a59ee8aaffa96526069153716a (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