-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to trampoline based Amalgamate.
Created a trampoline to use with the MVCC iterator collection. An async call will only be performed if necessary, if an asynchronous file read in required. If the results in the the cache, a descent of the b-tree is synchronous. Reduces trips to the async event queue. Allows us to use the decorator pattern for iterators without nesting `async` calls. Any `async` call is exported through the trampoline. If there are `async` calls in the trampoline they are awaited `await`ed, if not they are ignored. Closes #247.
- Loading branch information
1 parent
c02ef5d
commit 2094166
Showing
2 changed files
with
40 additions
and
59 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
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