-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: relax
merge
and append
rules, allowing for LHS to be null
When null, these reduction annotations behave as no-ops. This behavior allows the current register state to condition whether an `merge` or `append` reduction should be done, which otherwise isn't possible as the "update" lambda doesn't have access to the register. It's more efficient than reducing, and then pruning (using prune annotations that don't exist yet), because we can track and optimize for the fact that the register value hasn't change from its loaded RocksDB state.
- Loading branch information
1 parent
d75844b
commit 4a30be1
Showing
1 changed file
with
78 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters