texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master updated (cc5262a46f -> 9985700301)


From: Patrice Dumas
Subject: master updated (cc5262a46f -> 9985700301)
Date: Thu, 14 Nov 2024 16:50:18 -0500 (EST)

pertusus pushed a change to branch master.

    from cc5262a46f Escape non-ASCII bytes in reference test results
     new 73762370b0 * tp/Texinfo/XS/XSParagraph.xs (xspara_new), 
tp/Texinfo/XS/xspara.c (SET_CONF), tp/Texinfo/XS/xspara.h (SET_CONF): instead 
of passing all the configuration variables in one function, setup a function 
per variable using the SET_CONF macro in xspara.c and xspara.h.  Remove 
xspara_init_state.
     new 21235b9b1a * tp/Texinfo/XS/XSParagraph.xs (xspara_new), 
tp/Texinfo/XS/xspara.c (xspara_SET_CONF), tp/Texinfo/XS/xspara.h 
(XSPARA_CONF_VARIABLES_LIST): setup a list of XSParagraph configuration 
variables, XSPARA_CONF_VARIABLES_LIST applied to xspara_SET_CONF such that 
xspara_SET_CONF can be redefined in different codes to generate code for all 
the configuration variables. Use XSPARA_CONF_VARIABLES_LIST in xspara.c and 
XSParagraph.xs.
     new 9985700301 * tp/Texinfo/XS/XSParagraph.xs (xspara_new): iterate over 
the conf hash keys instead of trying all the variables.  It should be faster if 
there are only few variables set (not if lots of variables are set, as there is 
a linear search to determine the function to call).


Summary of changes:
 ChangeLog                    | 25 +++++++++++++++++
 tp/Texinfo/XS/XSParagraph.xs | 65 ++++++++++++++++----------------------------
 tp/Texinfo/XS/xspara.c       | 34 ++++++-----------------
 tp/Texinfo/XS/xspara.h       | 54 ++++++++++++++++++++++++++++++++----
 4 files changed, 107 insertions(+), 71 deletions(-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]