From: Lady Date: Sat, 19 Oct 2024 17:11:12 +0000 (-0400) Subject: Refactor initial chunking to be line‐based X-Git-Tag: 0.3.0~5 X-Git-Url: https://git.ladys.computer/LesML/commitdiff_plain/a75bd82caffae94c4d87a6135a9c94a199fca06bb3faec1241d5cc1f959ee55b Refactor initial chunking to be line‐based The old parsing mechanism operated primarily on large string chunks, which were re‐parsed into lines potentially multiple times. This refactor changes the parsing to use lines and ranges, which is a little more verbose/complicated from an X·Path perspective (it requires a lot of `generate-id()´ comparisons) but hopefully, on the whole, better. --- diff --git a/parser.xslt b/parser.xslt index a25be2a..404030b 100644 --- a/parser.xslt +++ b/parser.xslt @@ -121,24 +121,15 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one