-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flat db stem last #76
Conversation
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be helpful to use a semantic type for stem keys instead of Bytes. like StemKey or something similar, so we can still keep it hasher agnostic, but have a bit more code readability than just Bytes.
Not blocking feedback, suggestion for future.
import java.util.List; | ||
import java.util.Map; | ||
import java.util.Optional; | ||
|
||
import com.google.common.cache.Cache; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
caffeine would likely be a more performant option than guava
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did the modification
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
PR description
This PR cleans up and renames certain methods to improve clarity. This PR is also necessary for the implementation of the flat DB based on stems.
Fixed Issue(s)