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/ae0c7e317f7c586a1771dc5f2764a904970da3d2?ds=sidebyside;hp=57aba756b5ea79520435489e8ef33111070325eb 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 86c28ea..f1ade04 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