[latex3-commits] [git/LaTeX3-latex3-latex3] main: Use a single tmp control sequence to save hash table space (f873bddb8)
Bruno Le Floch
blflatex at gmail.com
Wed May 12 12:15:02 CEST 2021
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/f873bddb8e1d1156d6b44632a8dca0b3e46ee04c
>---------------------------------------------------------------
commit f873bddb8e1d1156d6b44632a8dca0b3e46ee04c
Author: Bruno Le Floch <blflatex at gmail.com>
Date: Wed May 12 12:15:02 2021 +0200
Use a single tmp control sequence to save hash table space
>---------------------------------------------------------------
f873bddb8e1d1156d6b44632a8dca0b3e46ee04c
l3kernel/l3keys.dtx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index f59370707..fbd8d4b5b 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -1006,7 +1006,7 @@
% comma and |#2| will be the active equals sign.
% \begin{macrocode}
\group_begin:
- \cs_set_protected:Npn \@@_tmp:NN #1#2
+ \cs_set_protected:Npn \@@_tmp:w #1#2
{
% \end{macrocode}
%
@@ -1263,13 +1263,13 @@
% \end{macrocode}
% \end{macro}
%
-% The parsing loops are done, so here ends the definition of \cs{@@_tmp:NN},
+% The parsing loops are done, so here ends the definition of \cs{@@_tmp:w},
% which will finally set up the macros.
% \begin{macrocode}
}
\char_set_catcode_active:n { `\, }
\char_set_catcode_active:n { `\= }
- \@@_tmp:NN , =
+ \@@_tmp:w , =
\group_end:
% \end{macrocode}
%
@@ -1347,7 +1347,7 @@
% worth it.
% \begin{macrocode}
\group_begin:
- \cs_set_protected:Npn \@@_tmp:n #1
+ \cs_set_protected:Npn \@@_tmp:w #1
{
\cs_new:Npn \@@_trim:nN ##1
{
@@ -1388,7 +1388,7 @@
##2
{ ##2 { ##1 } }
}
- \@@_tmp:n { ~ }
+ \@@_tmp:w { ~ }
\group_end:
% \end{macrocode}
% \end{macro}
@@ -3061,7 +3061,7 @@
% much faster to just directly strip spaces around |/|.
% \begin{macrocode}
\group_begin:
- \cs_set:Npn \@@_tmp:n #1
+ \cs_set:Npn \@@_tmp:w #1
{
\cs_new:Npn \@@_trim_spaces:n ##1
{
@@ -3073,7 +3073,7 @@
\s_@@_mark \@@_trim_spaces_auxiii:w
}
}
- \@@_tmp:n { ~ }
+ \@@_tmp:w { ~ }
\group_end:
\cs_new:Npn \@@_trim_spaces_auxi:w #1 ~ / #2 \s_@@_nil #3
{
More information about the latex3-commits
mailing list.