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.
Compare each block with two blocks divided at its midpoint token boundary, including their Huffman headers and stored-block alignment. Emit the smaller plan and preserve final-block flags.
Map tiles are 1.54% smaller at level 6 and 1.91% smaller at level 9. Across all fixtures the weighted reduction is only 0.006–0.007%, with no size regression in 70 corpus/level cases. Planning adds work: the final development JVM run measured the small model at 0.116 ms versus 0.067 ms before. Text timing is unstable across unchanged-baseline forks, so its single-fork comparison is provisional.
Linux JVM tests, 100% instruction/branch coverage verification and all 70 JDK/KFlate round trips passed. Tests cover exact block ends and unavailable-source behavior; the redundant invalid-midpoint guard is removed. Raw timings, sizes and saved Kompress comparisons are in
performance/2026-09-09-split/RESULTS.md.Independent PR against
dev-1.1.0. The stored-block alignment helper overlaps #33 and must be deduplicated if both are merged.