-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Place block construction in a
Cache
struct (#684)
This commit puts the block construction into a type, called `Cache`. We support a peek interface which requires mutable access and an indexing implementation which is read-only. This is not quite pleasing to the eye but it maintains the interfaces that already exist. This work is intended to be the basis of an infinite streaming `Cache`, not enabled by default. That work will be done in a follow-up PR. For the most part this change is mechanical. The unix-datagram generator now follows the file-gen in sharing a single `Cache` instance per writer, rather than having one for each child. REF SMP-664 Signed-off-by: Brian L. Troutwine <[email protected]>
- Loading branch information
Showing
9 changed files
with
252 additions
and
232 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
Oops, something went wrong.