Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use iterators in
error_at
and process_cycle
.
This makes the code a little faster, presumably because bounds checks aren't needed on `nodes` accesses. It requires making `scratch` a `RefCell`, which is not unreasonable.
- Loading branch information
1 parent
e2492b7
commit 6e48053
Showing
1 changed file
with
18 additions
and
16 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