[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: More efficient key name expansion (db6808e8)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Feb 21 15:29:45 CET 2022
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/db6808e8051fdbdaa6f0460f290c19e400f10096
>---------------------------------------------------------------
commit db6808e8051fdbdaa6f0460f290c19e400f10096
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Feb 21 14:29:45 2022 +0000
More efficient key name expansion
>---------------------------------------------------------------
db6808e8051fdbdaa6f0460f290c19e400f10096
base/changes.txt | 5 +++++
base/ltkeys.dtx | 9 ++++-----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index cffb8b79..bbb5f42d 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -7,6 +7,11 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+2022-02-21 Joseph Wright <Joseph.Wright at latex-project.org>
+
+ * ltkeys.dtx:
+ More efficient key name expansion
+
2022-02-16 Joseph Wright <Joseph.Wright at latex-project.org>
* ltkeys.dtx:
diff --git a/base/ltkeys.dtx b/base/ltkeys.dtx
index 8f366a8b..e33d5c8c 100644
--- a/base/ltkeys.dtx
+++ b/base/ltkeys.dtx
@@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltkeys.dtx}
- [2022/02/16 v1.0d LaTeX Kernel (Kevyal options)]
+ [2022/02/21 v1.0e LaTeX Kernel (Kevyal options)]
% \iffalse
\documentclass{l3doc}
\GetFileInfo{ltkeys.dtx}
@@ -378,6 +378,8 @@
% \end{macrocode}
%
% \begin{macro}{\@@_options_expand_module:Nn}
+% \changes{v1.0e}{2022/02/21}
+% {Faster approach to key name expansion}
% \begin{macro}{\@@_options_expand_module:nN}
% To deal with active characters inside the module argument whilst also
% expanding that argument, we use a combination of \texttt{c}- and
@@ -386,10 +388,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_options_expand_module:Nn #1#2
{
- \cs:w @@_options_expand_module:nN \exp_after:wN \cs_end:
- \exp_after:wN
- { \exp:w \exp_end_continue_f:w \exp_args:Ne \use:n {#2} }
- #1
+ \cs:w @@_options_expand_module:nN \use:e { \cs_end: {#2} } #1
}
\cs_new_protected:Npn \@@_options_expand_module:nN #1#2
{ #2 {#1} }
More information about the latex3-commits
mailing list.