Repository navigation
Overlap bounded first compressed term group with worker startup - #990
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Start only the first byte-balanced compressed source group before parser workers finish startup, allowing bounded ZIP reads to overlap module compilation/readiness. Gate the prefetch at the existing 24 MiB group target; larger groups retain the current startup order. The test covers source failure, startup failure, cancellation, and an oversized first group.
Evidence
termsFindpairs had equal term count, result count, full result digest, warm/restart lookup digest, and OPFS file sizes. Paired total median was −47.4 ms (candidate minus baseline), MAD 70.3 ms, candidate won 5/6. The host was heavily loaded (roughly 25–29 one-minute and 59–76 five-minute load averages), so this is inconclusive; no whole-path speed claim is made.Checks
npm run test:unit— 701 files, 15,909 passed, 47 skippednpm run test:buildnpm run test:ts:mainnpm run test:ts:testDetailed receipts and reports are retained at
/Users/alex/Code/manabi/QualificationEvidence/manabitan-jmdict-overlap-rebased-20261129/paired-endpoint/.