summaryrefslogtreecommitdiff
path: root/tests/Kmisc
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-11-24 02:03:36 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-11-24 02:28:14 +0100
commit74ce9d348dd743af805484ccdd8a722a26aff42d (patch)
treecb13bfc4a5309e1b7a5e88b695c47d709af9ddb6 /tests/Kmisc
parent5be286d53aab6c8bf99549ae2eaa6bef3e84a86f (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/Kmisc')
0 files changed, 0 insertions, 0 deletions