Commit Graph

18 Commits

Author SHA1 Message Date
Maurice Makaay 22144487f0 String parser replaced with a low level parser for performance. 2019-08-01 13:25:21 +00:00
Maurice Makaay ed846c7e53 Wrote a first crude version of specific tokenizer handlers for string parsing. Missing feature is good error reporting from the tokenize handler code (which has been a TODO for a while, so a nice one to implement after this). 2019-07-31 07:51:37 +00:00
Maurice Makaay 5ff6f20ab7 Speed improvements 2019-07-29 23:51:03 +00:00
Maurice Makaay 74274e04fb Made a big jump in performance on big files with lots of comments, by reading in chunks till end of line, instead of byte-by-byte. 2019-07-28 23:50:30 +00:00
Maurice Makaay 44f022544f Restructured the BurntSushi testing code, to not let it be a part of the TOML AST. 2019-07-28 14:51:14 +00:00
Maurice Makaay dea3eb987b Changes for compatibliity with latest parsekit, and some speed improvements. 2019-07-26 22:56:24 +00:00
Maurice Makaay bf7b693cb8 Lowering the number of forks required. 2019-07-24 22:42:54 +00:00
Maurice Makaay 68ab1293f2 Code cleanup. 2019-07-23 20:09:30 +00:00
Maurice Makaay 5ccb16f38f Backup work. 2019-07-22 23:27:59 +00:00
Maurice Makaay 35e4c9411c Fixed a small issue in the Makefile to "make test-sushi" work again. 2019-07-20 00:29:38 +00:00
Maurice Makaay c396e52632 A few new bits and bobs for performance testing. 2019-07-19 21:12:06 +00:00
Maurice Makaay 96a72c4c48 Various small updates, related to speed improvements. 2019-07-18 00:23:14 +00:00
Maurice Makaay b8d99972bb Made it easier to do some profiling on the code. 2019-07-12 12:33:53 +00:00
Maurice Makaay a9964163c1 Squishing out more performance. 2019-07-12 00:20:52 +00:00
Maurice Makaay 68dbf2d78e Backup changes for performance fixes. 2019-07-05 15:06:57 +00:00
Maurice Makaay c67a91b1ca Ignore build output, removed some profiling code. 2019-06-30 10:15:39 +00:00
Maurice Makaay 9680c2b844 Implemented TOML arrays as a linked list, which prevents a lot of memory copying on large arrays. Also implemented a json comparison, inspired by BurnSushi's version, which makes the tests work when keys in JSON maps are not in the expected order. 2019-06-29 23:11:03 +00:00
Maurice Makaay 7227fdcb93 Integrated multiple file-based test suites (BurntSushi, iarna and my own) into the unit tests. BurntSushi's tests are also still supported using the test interface implementation from cmd/burntsushi-tester. 2019-06-29 15:45:52 +00:00