[latex3-commits] [latex3/latex3] main: Use Frank's text (see #1340) (9561a42a6)

github at latex-project.org github at latex-project.org
Tue Nov 28 21:08:02 CET 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/9561a42a6c1031439ac6aec10ff623e694ce195a

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

commit 9561a42a6c1031439ac6aec10ff623e694ce195a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Nov 28 20:08:02 2023 +0000

    Use Frank's text (see #1340)


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

9561a42a6c1031439ac6aec10ff623e694ce195a
 l3kernel/l3expan.dtx | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/l3kernel/l3expan.dtx b/l3kernel/l3expan.dtx
index 63929ec16..19ca59d76 100644
--- a/l3kernel/l3expan.dtx
+++ b/l3kernel/l3expan.dtx
@@ -314,15 +314,12 @@
 % expand the arguments of a base function depend on what needs doing
 % with each argument and where this happens in the list of arguments:
 % \begin{itemize}
-%   \item
-%     Arguments that are \emph{unchanged} by expansion (|N|- and |n|-type)
-%     should come last: the internal functions then avoid absorbing these
-%     entirely, giving a small speed gain.
-%   \item
-%     Expansion to an |N|-type argument gives an internal result that
-%     can be manipulated faster than ones that expand to an |n|-type
-%     argument; thus any |c|-type expansion should come before |V|-,
-%     |v|-, |o|-, |e|-, |f|- or |x|-type.
+%   \item for fastest processing any |c|-type arguments should come first
+%     followed by all other modified arguments;
+%   \item unchanged |N|-type args that appear before modified ones have
+%     a small performance hit;
+%  \item unchanged |n|-type args that appear before modified ones have
+%    a relative larger performance hit.
 % \end{itemize}
 %
 % \section{Manipulating the first argument}





More information about the latex3-commits mailing list.