Files
micropython/py
Damien George ae43679792 py/lexer: Use strcmp to make keyword searching more efficient.
Since the table of keywords is sorted, we can use strcmp to do the search
and stop part way through the search if the comparison is less-than.

Because all tokens that are names are subject to this search, this
optimisation will improve the overall speed of the lexer when processing
a script.

The change also decreases code size by a little bit because we now use
strcmp instead of the custom str_strn_equal function.
2017-02-17 11:10:35 +11:00
..
2017-02-08 11:12:26 +11:00
2017-02-08 11:12:26 +11:00
2017-02-16 18:38:06 +11:00
2017-02-16 18:38:06 +11:00
2015-11-13 12:49:18 +00:00
2017-01-27 17:19:06 +11:00