iOS Spotlight indexer holds every changed file in memory #217

open cmc opened this on 2026-11-22 07:11 UTC · feature · milestone Backlog

Discussion

cmc 2026-11-22 07:11 UTC

Severity: Low.

SpotlightIndexer.index reads all changed files into one array and submits one batch (Sources/OrgstarMobile/SpotlightIndexer.swift:56-76), so the first index of a workspace holds all its text twice. Read and submit in batches of about a hundred.

From the performance review, docs/review-2026-11-21.md (#96).

Platforms: iOS.