Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-08-09 | Rewrite algorithm to not pass around boxed functions | 34 | -1194/+2065 | ||
* Pass state names from an enum around instead of boxed functions * Refactor to simplify attempts a lot * Use a subtokenizer for the the `document` content type | |||||
2022-08-02 | Refactor to remove most closures | 25 | -1148/+1285 | ||
2022-08-01 | Fix bug on empty heading (atx) | 1 | -29/+31 | ||
2022-08-01 | Add missing docs, refactor some code | 5 | -78/+90 | ||
2022-08-01 | Refactor to pass more `&str`s, work on more bytes | 2 | -90/+70 | ||
2022-08-01 | Remove unneeded field in compile context | 1 | -39/+8 | ||
2022-08-01 | Refactor some states | 6 | -28/+32 | ||
2022-07-29 | Refactor to improve states | 34 | -1229/+934 | ||
* Remove custom kind wrappers, use plain bytes instead * Remove `Into`s, use the explicit expected types instead * Refactor to use `slice.as_str` in most places * Remove unneeded unique check before adding a definition * Use a shared CDATA prefix in constants * Inline byte checks into matches * Pass bytes back from parser instead of whole parse state * Refactor to work more often on bytes * Rename custom `size` to `len` | |||||
2022-07-29 | Refactor to work on bytes (`u8`) | 39 | -528/+576 | ||
2022-07-28 | Refactor to use `debug_assert` | 5 | -20/+19 | ||
2022-07-28 | Refactor to work on `char`s | 44 | -1036/+1087 | ||
Previously, a custom char implementation was used. This was easier to work with, as sometimes “virtual” characters are injected, or characters are ignored. This replaces that with working on actual `char`s. In the hope of in the future working on `u8`s, even. This simplifies the state machine somewhat, as only `\n` is fed, regardless of whether it was a CRLF, CR, or LF. It also feeds `' '` instead of virtual spaces. The BOM, if present, is now available as a `ByteOrderMark` event. | |||||
2022-07-26 | Refactor to drastically improve perf around whitespace | 12 | -238/+263 | ||
2022-07-26 | Refactor to simplify tokenizer | 3 | -132/+83 | ||
2022-07-26 | Remove unneeded parameter | 1 | -20/+16 | ||
2022-07-25 | Refactor to not pass codes around | 34 | -993/+938 | ||
2022-07-25 | Refactor to store less data | 1 | -47/+43 | ||
2022-07-25 | Remove no longer needed field in `State::Ok` | 34 | -63/+61 | ||
2022-07-25 | Refactor to remove need for cloning codes | 3 | -44/+26 | ||
2022-07-25 | Improve performance w/ a single feed loop | 24 | -145/+138 | ||
2022-07-22 | Refactor to remove unneeded `Option` | 1 | -14/+18 | ||
2022-07-22 | Refactor to use a single shared edit map | 10 | -82/+50 | ||
2022-07-22 | Refactor to reserve some more vecs | 1 | -5/+9 | ||
2022-07-22 | Refactor to pass more references around | 1 | -26/+39 | ||
2022-07-22 | Refactor to remove unneeded tuples in every states | 38 | -919/+684 | ||
2022-07-22 | Refactor to pass ints instead of vecs around | 35 | -464/+393 | ||
2022-07-21 | Refactor performance around links in subtokenize | 1 | -28/+35 | ||
2022-07-21 | Refactor to improve performance by passing markers around | 3 | -75/+37 | ||
2022-07-21 | Refactor to move `index` field to `point` | 11 | -102/+49 | ||
2022-07-21 | Refactor to move some event fields to `link` | 8 | -110/+90 | ||
2022-07-20 | Refactor to share edit map | 9 | -46/+61 | ||
2022-07-20 | Refactor to improve cloning in `document` | 1 | -53/+49 | ||
2022-07-20 | Refactor to improve allocation around strings | 6 | -182/+149 | ||
2022-07-20 | Refactor to use less vecs for events | 11 | -76/+63 | ||
2022-07-19 | Remove a couple of clones | 2 | -7/+6 | ||
2022-07-19 | Refactor to remove cloning in `edit_map` | 11 | -45/+47 | ||
2022-07-19 | Use `edit_map` in `subtokenize` | 3 | -83/+41 | ||
2022-07-19 | Remove another unneeded `HashMap` | 2 | -177/+158 | ||
2022-07-19 | Remove an unneeded `HashMap` | 3 | -18/+46 | ||
2022-07-19 | Replace use of `HashSet` with `vec` | 2 | -7/+9 | ||
2022-07-19 | Remove unneeded `rust` language flags | 1 | -6/+6 | ||
2022-07-19 | Fix performance around a lot of lists | 1 | -16/+33 | ||
2022-07-18 | Refactor to improve performance when constructs are turned off | 2 | -49/+73 | ||
2022-07-18 | Change to improve `default_line_ending` api | 2 | -7/+5 | ||
2022-07-18 | Add support for turning off constructs | 24 | -62/+353 | ||
2022-07-18 | Refactor to move options to `lib/` | 2 | -161/+160 | ||
2022-07-18 | Refactor to organize resolvers | 4 | -175/+175 | ||
2022-07-18 | Refactor examples of states | 26 | -460/+605 | ||
2022-07-18 | Remove unneeded token | 3 | -35/+13 | ||
2022-07-18 | Fix token that should be void | 3 | -3/+58 | ||
2022-07-18 | Fix dead link in docs | 2 | -5/+5 | ||