Skip to content

Open a container that gave nothing once, not on every pass - #262

Merged
abrignoni merged 1 commit into
mainfrom
perf/expansion-marker
Oct 1, 2026
Merged

abrignoni merged 1 commit into
mainfrom
perf/expansion-marker

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Opens a container that gave nothing once, instead of on every pass.

  • files.expanded marks a container that an expansion pass opened and got nothing from. Later passes skip it unless they keep more (other files, documents) or are forced.
  • A container that would not open, or had an unreadable member, is not marked and is tried again.
  • On a case of 149,824 rows, a second ingest of ten pictures went from 81 s to 1.9 s. The first ingest is unchanged.
  • The mark carries a generation to raise when a reader learns a new format.

Co-Authored-By: Claude Opus 5.5 [email protected]

An expansion pass opens every container with nothing extracted from it,
in the whole case, and nothing recorded that one had been opened and
held nothing to register. On a case of 149,824 rows, 119,604 of them
containers, ingesting ten pictures opened 119,627 containers and took
77 s, and ingesting ten more opened the 119,568 empty ones again and
took 81 s, each read back out of the source archive.

files.expanded records it now, only on a container that gave nothing.
The mark says how the container was opened, so a pass that also keeps
other files or keeps documents opens it again, and it carries a
generation a build raises when a reader learns a format. A container
that would not open, or had an unreadable member, is not marked. Force
ignores the mark. The second ingest on that case takes 1.9 s.

The pass also reads only the container ids of what was extracted, where
it read every extracted row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni enabled auto-merge October 1, 2026 21:00
@abrignoni
abrignoni merged commit cc0eea0 into main Oct 1, 2026
8 checks passed
@abrignoni
abrignoni deleted the perf/expansion-marker branch October 1, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant