diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-05 04:43:06 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-05 04:54:10 +0200 |
| commit | 121d4a95ed0cd6cf64d64b92eedfb163a531d672 (patch) | |
| tree | 15f429b11ced1ea75c6d318c8444d47147cb35c9 /examples/print_tree.py | |
| parent | 0b9e3b0c701f0bc5de23680a55ecfdd142f09f51 (diff) | |
Improve tokenization performance by removing a single character.
strip() instead of lstrip() makes the loop terminate earlier, saving
lots of calls. Shaves a few % of parsing the x86 Kconfigs.
Diffstat (limited to 'examples/print_tree.py')
0 files changed, 0 insertions, 0 deletions
