all repos — honk @ fb42c74efaab671adb3890a4b4dd1badc725d750

my fork of honk

an idea to make the indices faster
Ted Unangst tedu@tedunangst.com
Tue, 12 Mar 2024 00:50:55 -0400
commit

fb42c74efaab671adb3890a4b4dd1badc725d750

parent

ab3ab230dc142568729f87da1357753957973e2d

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M TODOTODO

@@ -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