-
Notifications
You must be signed in to change notification settings - Fork 891
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: use an iterator for cell_offsets in order to make loop-ups faster.
- Loading branch information
1 parent
f29a53d
commit 3f703af
Showing
1 changed file
with
13 additions
and
9 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
The offsets start at 0 (beginning of the first cell), however we already initialize
is_beginning_of_cell
attrue
, and only want to know when the second cell starts. Hence the[1..]
.