[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/removekey: Use e-type expansion for performance (8c8f2a5c)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Jun 16 10:18:52 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : hotfix/removekey
Link       : https://github.com/latex3/latex2e/commit/8c8f2a5ced8b5607bc2e7e17863eb7b0ce613919

>---------------------------------------------------------------

commit 8c8f2a5ced8b5607bc2e7e17863eb7b0ce613919
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jun 16 09:18:52 2022 +0100

    Use e-type expansion for performance


>---------------------------------------------------------------

8c8f2a5ced8b5607bc2e7e17863eb7b0ce613919
 base/ltkeys.dtx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/base/ltkeys.dtx b/base/ltkeys.dtx
index 73d3a2ad..c6dfa5f6 100644
--- a/base/ltkeys.dtx
+++ b/base/ltkeys.dtx
@@ -299,7 +299,7 @@
           {
             \clist_map_inline:cn { opt@ \@currname . \@currext }
               {
-                \@@_options_remove:xnn
+                \@@_options_remove:enn
                   { \@@_remove_equals:n {##1} }
                   {##1} {#1}
               }
@@ -312,7 +312,7 @@
       { \clist_put_right:Nn \l_@@_options_clist {#2} }
       { \clist_put_right:Nn \@unusedoptionlist {#1} }
   }
-\cs_generate_variant:Nn \@@_options_remove:nnn { x }
+\cs_generate_variant:Nn \@@_options_remove:nnn { e }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -328,7 +328,7 @@
   {
     \clist_map_inline:Nn \@classoptionslist
       {
-        \@@_options_remove:xnn
+        \@@_options_remove:enn
           { \@@_remove_equals:n {##1} }
           {##1} {#1}
       }





More information about the latex3-commits mailing list.