Commit a873885
authored
fix: use new Compressor::rebuild_from for FSST pushdown (#2708)
The previous implementation of FSST comparison pushdown relied on
rebuilding a compressor by reinserting symbols one-by-one into the
CompressorBuilder, and then building it.
That doesn't work, for reasons described in the description at
spiraldb/fsst#84.
We use the new `rebuild_from` API on fsst compressor to build a new
compressor that is guaranteed to preserve symbol table ordering, and
thus guarantee equal compression outputs.1 parent a0da90b commit a873885
3 files changed
+4
-11
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 71 | + | |
79 | 72 | | |
80 | 73 | | |
81 | 74 | | |
| |||
0 commit comments