Skip to content

Commit

Permalink
e-Type expansion is slightly faster
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Jun 16, 2022
1 parent 73683ac commit 9957599
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions l3packages/l3keys2e/l3keys2e.dtx
Expand Up @@ -230,7 +230,7 @@
% \end{macro}
%
% \begin{macro}{\@@_latexe_options_class:n}
% \begin{macro}{\@@_latexe_options_remove:nnn, \@@_latexe_options_remove:xnn}
% \begin{macro}{\@@_latexe_options_remove:nnn, \@@_latexe_options_remove:enn}
% For classes, each option (stripped of any content after |=|)
% is checked for existence as a key. If found, the option is added to
% the combined list for processing. On the other hand, unused options
Expand All @@ -250,7 +250,7 @@
{
\clist_map_inline:cn { opt@ \@currname . \@currext }
{
\@@_latexe_options_remove:xnn
\@@_latexe_options_remove:enn
{ \@@_latexe_remove_equals:n {##1} }
{##1} {#1}
}
Expand All @@ -263,7 +263,7 @@
{ \clist_put_right:Nn \l_@@_latexe_options_clist {#2} }
{ \clist_put_right:Nn \@unusedoptionlist {#1} }
}
\cs_generate_variant:Nn \@@_latexe_options_remove:nnn { x }
\cs_generate_variant:Nn \@@_latexe_options_remove:nnn { e }
% \end{macrocode}
% \end{macro}
% \end{macro}
Expand All @@ -278,7 +278,7 @@
{
\clist_map_inline:Nn \@classoptionslist
{
\@@_latexe_options_remove:xnn
\@@_latexe_options_remove:enn
{ \@@_latexe_remove_equals:n {##1} }
{##1} {#1}
}
Expand Down

0 comments on commit 9957599

Please sign in to comment.