an idea to make the indices faster
Ted Unangst tedu@tedunangst.com
Tue, 12 Mar 2024 00:50:55 -0400
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
TODO
→
TODO
@@ -8,4 +8,6 @@ The gob encoding for backend rpc uses more memory than needed.
A custom encoding could reduce allocations. Maybe the backend could fetch the data itself. - +Several columns and indices have potentially long shared prefixes. + These could be stored rearranged, perhaps with last four bytes prepended. + https://here/there/9876 -> 9876https://here/there/9876