summaryrefslogtreecommitdiff
path: root/examples/allnoconfig_simpler.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-09-29 03:49:35 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2017-09-29 06:15:01 +0200
commit5fea36ffd71d8f908133d091860ef4b139cc7e81 (patch)
tree3b78d0c6a8724ed741fbeec535b803f33bd07a6b /examples/allnoconfig_simpler.py
parent3d27a14dbcb057eb99491babe1238bde6cfe66e6 (diff)
Reorganize whitespace stripping in _tokenize()
By consistently stripping trailing whitespace instead of stripping initial whitespace in the string/operator case, we do less redundant work and handle the '\n's at the end of lines better. Shaves a few % off the _tokenize() runtime in cProfile and line_profiler.
Diffstat (limited to 'examples/allnoconfig_simpler.py')
0 files changed, 0 insertions, 0 deletions