diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-11-24 02:03:36 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-11-24 02:28:14 +0100 |
| commit | 74ce9d348dd743af805484ccdd8a722a26aff42d (patch) | |
| tree | cb13bfc4a5309e1b7a5e88b695c47d709af9ddb6 /tests/Kpreprocess | |
| parent | 5be286d53aab6c8bf99549ae2eaa6bef3e84a86f (diff) | |
Optimize fetching of initial token on line
Another possible optimization was missed in commit ab89ef6 ("Get rid of
_next_token() and _peek_token()"): The index of the initial token on a
line is known to be 0, so there's no need to check _tokens_i.
Also reads a bit clearer.
Diffstat (limited to 'tests/Kpreprocess')
0 files changed, 0 insertions, 0 deletions
