Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(parser): make not at EOF the hot path in
Source
methods (#4576)
Reverse `if` arms in 2 very commonly-called methods in `Source` so that "not at EOF" is the first branch. This will encourage compiler to treat EOF as the cold branch (which it should be, as we're almost never at EOF).
- Loading branch information