v0.5.0 #43
ecton
announced in
Announcements
v0.5.0
#43
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Breaking Changes
KeyEvaluation
has been renamed toScanEvaluation
.All
scan()
functions have been updated with thenode_evaluator
callbacknow returns a
ScanEvaluation
instead of abool
. To preserve existingbehavior, return
ScanEvaluation::ReadData
instead of true andScanEvaluation::Stop
instead of false.The new functionality unlocked with this change is that scan operations can
now be directed as to whether to skip navigating into an interior node. The
new
reduce()
function uses this ability to skip scanning nodes when analready reduced value is available on a node.
Added
TreeFile::reduce()
,Tree::reduce()
,TransactionTree::reduce()
have beenadded as a way to return aggregated information stored within the nodes. A
practical use case is the ability to retrieve the number of alive/deleted keys
over a given range, but this functionality extends to embedded indexes through
the existing
Reducer
trait.This discussion was created from the release v0.5.0.
Beta Was this translation helpful? Give feedback.
All reactions