Commit Graph

14 Commits

Author SHA1 Message Date
Maurice Makaay 8ef9aed096 Switching from various Byte and Rune handlers to single Char handlers.
The Char handlers determine on their own if they should handle things
in byte or rune mode.
2019-07-29 09:45:25 +00:00
Maurice Makaay 53ae659ef6 Moving results to their own light weight tokenize.API.Result. 2019-07-28 22:35:33 +00:00
Maurice Makaay 62cd84bb74 Use zero-indexed cursor positioning data inside stackframes. This simplifies some things.
Also a bit of code cleanup.
2019-07-24 10:34:24 +00:00
Maurice Makaay 802701ade5 Added multi-byte peeks for some performance improvements. 2019-07-23 23:23:40 +00:00
Maurice Makaay 93d2cfa6f1 Backup work. 2019-07-22 23:28:05 +00:00
Maurice Makaay cf679b2225 Backup work for next refactoring step. 2019-07-22 22:16:28 +00:00
Maurice Makaay 5e3e4b0f0a Yay! First version for which parsing long.toml drops below 100ms! Got an outcome of 93ms. Almost down to BurntSushi's speed level, but still with a generic parser backing. Looking good!! 2019-07-16 23:34:01 +00:00
Maurice Makaay 06faabdfe2 Small bugfix for the rune-to-byte-fallback code and added byte-support to the Str and StrNoCase matchers. 2019-07-16 07:35:06 +00:00
Maurice Makaay 09746c0d2e Speeding up the code some more. Big step was made by simplifying the cursor, continuing with that in the next commit. 2019-07-12 08:02:04 +00:00
Maurice Makaay a4eda45d2c Made all unit tests work again. 2019-07-11 14:55:08 +00:00
Maurice Makaay c532af67ca Optimization round completed (for now :-) All tests successful. 2019-07-11 12:43:57 +00:00
Maurice Makaay 583197c37a Made a distinction between MatchWhitespace() and MatchUnicodeSpace(). 2019-07-04 11:32:07 +00:00
Maurice Makaay 2293627232 Small code cleanup things, mainly backing up the changes. 2019-06-18 15:46:09 +00:00
Maurice Makaay 27c97ae902 Big overhaul on separating packages for code containment. 2019-06-12 14:30:46 +00:00