[latex3-commits] [l3svn] r6696 - Add comment on LuaTeX's \lastnamedcs (closes #313)

noreply at latex-project.org noreply at latex-project.org
Thu Sep 1 18:09:52 CEST 2016


Author: bruno
Date: 2016-09-01 18:09:52 +0200 (Thu, 01 Sep 2016)
New Revision: 6696

Modified:
   trunk/l3kernel/l3basics.dtx
Log:
Add comment on LuaTeX's \lastnamedcs (closes #313)

As commented on #313 I think it would be beneficial
to use \lastnamedcs for speed.  But for now speed is
not an issue.


Modified: trunk/l3kernel/l3basics.dtx
===================================================================
--- trunk/l3kernel/l3basics.dtx	2016-09-01 15:38:50 UTC (rev 6695)
+++ trunk/l3kernel/l3basics.dtx	2016-09-01 16:09:52 UTC (rev 6696)
@@ -2254,6 +2254,7 @@
 %   sequence itself and the true code in the input stream.
 %   For the \texttt{c} variants, we are careful not to put the control
 %   sequence in the hash table if it does not exist.
+%   In \LuaTeX{} we could use the \tn{lastnamedcs} primitive.
 %    \begin{macrocode}
 \cs_set:Npn \cs_if_exist_use:NTF #1#2
   { \cs_if_exist:NTF #1 { #1 #2 } }



More information about the latex3-commits mailing list