Commit Graph

18 Commits

Author SHA1 Message Date
Wilson Lin a35641445d Use much simpler read-time entity decoding; fix longest prefix matching; fix transparent nodes not being interpreted as such 2020-07-04 20:33:02 +10:00
Wilson Lin 1ee193de1b Fix tricky subtle bugs in trie matching 2020-07-03 22:32:16 +10:00
Wilson Lin a519394c3a Use regex crate for substring searches 2020-07-03 20:37:52 +10:00
Wilson Lin 9605c34e66 Compact tries even more 2020-06-19 18:12:55 +10:00
Wilson Lin cefdc8fdd9 Wire up new generated code 2020-06-19 17:58:16 +10:00
Wilson Lin aaf57a9c22 Improve performance through inlining and direct arrays 2020-01-31 23:15:35 +11:00
Wilson Lin 71a3e3927b Create through matching condition; show code context on error when using CLI 2020-01-26 03:25:07 +13:00
Wilson Lin 27af2368ff Remove attrs with default values; create minified comparison script; remove `=` from boolean attrs; fix closing tag writing before collapsed whitespace; rebuild hyperbuild only in bench build script instead of all dependencies; conservatively collapse whitespace for html-minifier to match hyperbuild behaviour; update bench results 2020-01-18 11:42:01 +11:00
Wilson Lin 7dcd7442e8 Remove redundant attributes with empty values 2020-01-15 00:58:33 +11:00
Wilson Lin 52592997fb Use fastrie 2020-01-12 16:29:41 +11:00
Wilson Lin 73545de0cb Improve build script 2020-01-06 18:54:46 +11:00
Wilson Lin 11017c7fcd Use general trie leaf node 2020-01-06 18:28:01 +11:00
Wilson Lin 058a6954e8 Build faster trie 2020-01-06 00:57:07 +11:00
Wilson Lin 6939ec17a2 Improve pattern matching 2020-01-02 14:14:40 +11:00
Wilson Lin 7349b15ab8 Reformatting 2019-12-29 21:53:49 +11:00
Wilson Lin 2149d20ae5 Generate patterns at compile time; update comment on entities; fix unused code 2019-12-29 21:39:29 +11:00
Wilson Lin 53904f1956 Build entities trie at compile time; support entities without semicolon 2019-12-29 21:00:20 +11:00
Wilson Lin 4ddcb36e42 Faster non-sequence matching; improved attribute value minification 2019-12-26 16:17:57 +11:00