feat(rust): encode v2 float columns as a dictionary, behind a flag - #1602
Open
CommanderStorm wants to merge 1 commit into
Open
feat(rust): encode v2 float columns as a dictionary, behind a flag#1602CommanderStorm wants to merge 1 commit into
CommanderStorm wants to merge 1 commit into
Conversation
Contributor
Performance ComparisonPerformance Comparison
|
| zoom | tiles | prev_total | curr_total | delta_total | avg_delta | pct | best | worst |
|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 71471 | 71471 | 0 | 0.0 | 0.0 | ||
| 1 | 4 | 220986 | 220986 | 0 | 0.0 | 0.0 | ||
| 2 | 16 | 615003 | 615003 | 0 | 0.0 | 0.0 | ||
| 3 | 64 | 1653851 | 1653851 | 0 | 0.0 | 0.0 | ||
| 4 | 256 | 3828904 | 3828904 | 0 | 0.0 | 0.0 | ||
| 5 | 1024 | 9716821 | 9716821 | 0 | 0.0 | 0.0 | ||
| 6 | 4096 | 32401914 | 32401914 | 0 | 0.0 | 0.0 | ||
| ALL | 5461 | 48508950 | 48508950 | 0 | 0.0 | 0.0 |
Top 3 improvements
Top 3 degradations
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
2 times, most recently
from
September 1, 2026 11:35
187fe96 to
4d039dd
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
from
September 1, 2026 12:04
4d039dd to
11521c6
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## stack-v2-float-dict-decode #1602 +/- ##
==============================================================
+ Coverage 70.15% 70.42% +0.26%
==============================================================
Files 108 109 +1
Lines 19219 19296 +77
==============================================================
+ Hits 13484 13589 +105
+ Misses 5735 5707 -28 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
from
September 1, 2026 14:09
11521c6 to
bf1e885
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
from
September 1, 2026 14:14
884bb23 to
25fe6d8
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
from
September 2, 2026 13:20
25fe6d8 to
f1c6a81
Compare
CommanderStorm
marked this pull request as ready for review
September 2, 2026 16:42
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
2 times, most recently
from
September 3, 2026 15:16
38cc32c to
44e5a2f
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
2 times, most recently
from
September 3, 2026 21:13
ead1156 to
4c17da0
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
from
September 4, 2026 08:53
4c17da0 to
3ca9c29
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
2 times, most recently
from
September 4, 2026 12:00
aa71b42 to
bec7b9a
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
from
September 4, 2026 12:25
3150d73 to
8713224
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
from
September 4, 2026 13:43
8713224 to
b268f06
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
2 times, most recently
from
September 4, 2026 14:15
8a59e54 to
978e670
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
from
September 4, 2026 23:59
978e670 to
3a4412c
Compare
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
2 times, most recently
from
September 5, 2026 13:42
0eaaec7 to
b56d8a0
Compare
`write_float_stream` wrote raw little-endian bytes and nothing else; it can now emit a codes stream followed by the distinct values those codes index. Keys are compared as bit patterns rather than as floats, so `0.0` and `-0.0` stay separate entries and every NaN with the same bits shares one. Both layouts are costed in full with their headers and the shorter wins, so a dictionary is chosen only when the column really does get smaller. Off by default behind `with_float_dict`, which is gated on `unstable-v2` because only v2 can express the encoding. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
CommanderStorm
force-pushed
the
stack-v2-float-dict-encode
branch
from
September 7, 2026 11:06
b56d8a0 to
5b65344
Compare
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.
The float encoder can now emit a dictionary, chosen only when the column actually gets smaller once both layouts are costed in full with their headers. Off by default behind
with_float_codecs, which is gated onunstable-v2.