Make appending operator more efficient #437
Labels
expl3
Related to the high-level programming language expl3
plaintex
Related to the plain TeX interface and implementation
speed
Related to speed improvements
technical debt
Related to code smells and refactoring
Milestone
In #435, we added support for appending to token renderers and renderer prototypes. However, the current implementation requires an extra token list for each token renderer and renderer prototype that stores a copy of the current definition. This is error-prone, since it silently discards any changes to token renderers and renderer prototypes from outside the
\markdownSetup
command. Furthermore, it is also unnecessary, since we can append directly to the replacement text of token renderers and renderer prototypes as long as the commands are simple unprotected\def
s with undelimited parameters, as shown on TeX StackExchange by @eg9, @gucci-on-fleek, @Skillmon and me.Tasks
\@@_tl_set_from_cs:NNn
following the discussion on TeX StackExchange.failed-to-append-renderer
andfailed-to-append-renderer-prototype
.CHANGES.md
.CHANGES.md
.\@@_tl_set_from_cs:NNn
in the technical documentation.The text was updated successfully, but these errors were encountered: