[latex3-commits] [latex3/latex3] main: Slight performance tweak to \int_if_zero:n(TF) (77112cd06)
github at latex-project.org
github at latex-project.org
Thu May 18 10:08:13 CEST 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/77112cd0620ac5033353c0e1862a7299532124c4
>---------------------------------------------------------------
commit 77112cd0620ac5033353c0e1862a7299532124c4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu May 18 09:08:13 2023 +0100
Slight performance tweak to \int_if_zero:n(TF)
>---------------------------------------------------------------
77112cd0620ac5033353c0e1862a7299532124c4
l3kernel/l3int.dtx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l3kernel/l3int.dtx b/l3kernel/l3int.dtx
index 644ff24ed..f7e9f97f1 100644
--- a/l3kernel/l3int.dtx
+++ b/l3kernel/l3int.dtx
@@ -1745,7 +1745,7 @@
% \begin{macrocode}
\prg_new_conditional:Npnn \int_if_zero:n #1 { p , T , F , TF }
{
- \if_int_compare:w \@@_eval:w #1 = 0 \exp_stop_f:
+ \if_int_compare:w \@@_eval:w #1 = \c_zero_int
\prg_return_true:
\else:
\prg_return_false:
More information about the latex3-commits
mailing list.