Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

RecSplit: check if possible don't store values #1047

Open
AskAlexSharov opened this issue Jul 13, 2023 · 0 comments
Open

RecSplit: check if possible don't store values #1047

AskAlexSharov opened this issue Jul 13, 2023 · 0 comments

Comments

@AskAlexSharov
Copy link
Collaborator

Now RecSplit index has 2 modes: 1-layer and 2-layer (in code it called rs.Enum).
Both of this modes encode values (passed by rs.AddKey(key, value)).

E3 need (if possible) add 3-rd mode: which behaves like 2-layer mode - enumerate keys - but doesn't store 2-nd layer on disk - no values at all. Example: add keys as rs.AddKey(key, 0) and then read as keyNumber := indexReader.Lookup(key).

Add tests for 3-rd mode.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant