Skip to content

Commit

Permalink
fix: typo in week 1 day 3 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
PinelliaC authored Feb 24, 2024
1 parent a5c6176 commit 30cdeb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mini-lsm-book/src/week1-03-block.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ In this task, you will need to modify:
src/block/iterator.rs
```

Now that we have an encoded block, we will need to implement the `StorageIterator` interface, so that the user can lookup/scan keys in the block.
Now that we have an encoded block, we will need to implement the `BlockIterator` interface, so that the user can lookup/scan keys in the block.

`BlockIterator` can be created with an `Arc<Block>`. If `create_and_seek_to_first` is called, it will be positioned at the first key in the block. If `create_and_seek_to_key` is called, the iterator will be positioned at the first key that is `>=` the provided key. For example, if `1, 3, 5` is in a block.

Expand Down

0 comments on commit 30cdeb1

Please sign in to comment.