Commit Graph

24 Commits

Author SHA1 Message Date
Maurice Makaay 179ce57826 New read buffer peek options for extra performance. 2019-08-01 13:26:02 +00:00
Maurice Makaay fcdd3d4ea7 Wow, going nicely! Some more miliseconds stripped. 2019-07-26 22:56:12 +00:00
Maurice Makaay daf3b9838f Backup work on dropping forking support. 2019-07-26 14:51:40 +00:00
Maurice Makaay 4c94374107 Getting rid of forking, the new system delivers more performance. 2019-07-26 12:14:15 +00:00
Maurice Makaay bc9e718e47 Lowering the number of forks required. 2019-07-24 22:42:40 +00:00
Maurice Makaay 99b0abc490 WIP on lowering the number of forks required. 2019-07-24 22:42:16 +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 9a53ea9012 Working on API speed. 2019-07-19 14:44:44 +00:00
Maurice Makaay 31055a3cd3 Bugfix for parsekit.read: when filling the buffer, the read offset was not taken into account for determining how many bytes could be read. 2019-07-19 10:13:32 +00:00
Maurice Makaay 3f9c745ac4 Unit tests improved for the parsekit.read package. 2019-07-19 09:50:42 +00:00
Maurice Makaay 22bcf4677e Some work on simlifying the reader code, to see if I can squeeze some more performance out of that part. 2019-07-19 08:47:13 +00:00
Maurice Makaay 64f92696b2 Fixed unit tests for the new allocation behavior. 2019-07-17 23:03:14 +00:00
Maurice Makaay 0a4e44b8f8 Allow for bufio Readers that deliver data in chunks (like our unit test Reader) 2019-07-17 23:03:00 +00:00
Maurice Makaay 6d3eacdcae Allocate read buffer in 1024 byte chunks, and read the data in chunks as well. This is more efficient than reading byte by byte. 2019-07-17 22:12:37 +00:00
Maurice Makaay 0362763e83 Switched to byte input for built-in tokenize.Handler functions. 2019-07-15 22:48:00 +00:00
Maurice Makaay d4492e4f0a Bytes reader working, now carry on switching to byte reading in the tokenizer code. 2019-07-15 20:03:05 +00:00
Maurice Makaay 56b8df3aab Removed loop protection code. This is useful, but it puts a performance burden on the code when doing it by keeping track of actual callers through the call stack. Maybe to be reintroduced in a future version with something like a simple counter and a maximum depth-style protection. 2019-07-12 12:33:18 +00:00
Maurice Makaay 7bc7fda593 Backup changes for performance fixes. 2019-07-05 15:07:07 +00:00
Maurice Makaay 5e9879326a Backup work to performance tuning. 2019-07-05 08:08:42 +00:00
Maurice Makaay 99654c2f9e Simplified some internal code, which also fixes a bug with correct error reporting from within parsekit in various edge cases. 2019-06-17 13:59:31 +00:00
Maurice Makaay cef6ae1bc4 Working on documentation. 2019-06-12 15:24:09 +00:00
Maurice Makaay 27c97ae902 Big overhaul on separating packages for code containment. 2019-06-12 14:30:46 +00:00
Maurice Makaay 1f0e0fcc17 Splitting up functionality in packages, intermediate step. 2019-06-11 22:23:30 +00:00