Commit Graph

20 Commits

Author SHA1 Message Date
Maurice Makaay 2fb6a5fd34 Further performance optimization and code cleanup. 2019-07-12 21:32:32 +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 83be756015 Cleaning up the grammar-based TOML-parser now the core is stable again. 2019-07-11 14:50:42 +00:00
Maurice Makaay be5f3b6f55 Optimization round completed (for now :-) All tests successful. 2019-07-11 12:43:27 +00:00
Maurice Makaay 68dbf2d78e Backup changes for performance fixes. 2019-07-05 15:06:57 +00:00
Maurice Makaay c97a21b146 Backup work to performance tuning. 2019-07-05 08:08:33 +00:00
Maurice Makaay af5d35ecee Cleaning up some logic around whitespace / newlines / comments. 2019-07-04 11:31:28 +00:00
Maurice Makaay 019dd35d83 Backup insane idea. 2019-07-03 15:46:23 +00:00
Maurice Makaay c67a91b1ca Ignore build output, removed some profiling code. 2019-06-30 10:15:39 +00:00
Maurice Makaay a28269800a Make use of the new feature to run without sanity check on the parser, to make the big testfiles-based test suite faster. 2019-06-30 01:07:13 +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
Maurice Makaay ec3a47da8d Composition over inheritance, why didn't I do that in the first place I wonder. 2019-06-28 08:34:35 +00:00
Maurice Makaay febe1ff568 Bits of code cleanup, no functional changes. 2019-06-28 08:23:43 +00:00
Maurice Makaay b1484cb690 Slight improvement for the document-level error in case no key or table was found. 2019-06-27 22:54:54 +00:00
Maurice Makaay 5782971bde 100% compatibility with the BurntSushi tests established. 2019-06-27 22:43:17 +00:00
Maurice Makaay 0d4cb356e9 Straightening out a few small wrinkles that came up from testing against the BurntSushi testset. 2019-06-27 22:01:56 +00:00
Maurice Makaay 6b9a7adfd9 Added support for the BurntSushi TOML tests. 2019-06-27 13:58:13 +00:00
Maurice Makaay b95f255ae7 Moved all parser code into subpackage 'parse'. 2019-06-26 21:51:42 +00:00