[latex3-commits] [git/LaTeX3-latex3-latex3] master: Continuing to remove cross-module \__int_ usage (b4fe41e)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun Mar 25 23:42:27 CEST 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/b4fe41e0ccaf86270d08629b63d480e4b3d231b2
>---------------------------------------------------------------
commit b4fe41e0ccaf86270d08629b63d480e4b3d231b2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sun Mar 25 20:24:50 2018 +0100
Continuing to remove cross-module \__int_ usage
This covers many (though not all) of the \__int cases.
In the main, where there is a single use in a module, I've gone for
\int_eval:n even if there is a performance loss. Where multiple uses are
present, I've favoured keeping primitive access. Both of these choices
may need to be looked at: there are performance issues in some cases but
not in others, I suspect.
We may want to think about \number: often we've used it to allow
\exp_after:wN to an integer in one step.
A few more of these to do yet, some of which need rewrites of bits and
pieces.
>---------------------------------------------------------------
b4fe41e0ccaf86270d08629b63d480e4b3d231b2
l3kernel/l3intarray.dtx | 2 +-
l3kernel/l3prg.dtx | 22 +++++++++++-----
l3kernel/l3regex.dtx | 44 +++++++++++++++++++------------
l3kernel/l3skip.dtx | 6 +++--
l3kernel/l3sort.dtx | 7 ++++-
l3kernel/l3str.dtx | 29 +++++++++++++-------
l3kernel/l3tl-analysis.dtx | 39 +++++++++++++++++----------
l3kernel/l3tl-build.dtx | 8 ++++--
l3kernel/l3token.dtx | 21 +++++++++++----
l3kernel/testfiles/m3expl001.luatex.tlg | 18 +++++++++++++
l3kernel/testfiles/m3expl001.ptex.tlg | 18 +++++++++++++
l3kernel/testfiles/m3expl001.tlg | 18 +++++++++++++
l3kernel/testfiles/m3expl001.uptex.tlg | 18 +++++++++++++
l3kernel/testfiles/m3expl001.xetex.tlg | 18 +++++++++++++
l3kernel/testfiles/m3expl003.luatex.tlg | 18 +++++++++++++
l3kernel/testfiles/m3expl003.ptex.tlg | 18 +++++++++++++
l3kernel/testfiles/m3expl003.tlg | 18 +++++++++++++
l3kernel/testfiles/m3expl003.uptex.tlg | 18 +++++++++++++
l3kernel/testfiles/m3expl003.xetex.tlg | 18 +++++++++++++
l3kernel/testfiles/m3skip005.tlg | 20 +++++++-------
20 files changed, 310 insertions(+), 68 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --textconv --cc b4fe41e0ccaf86270d08629b63d480e4b3d231b2
More information about the latex3-commits
mailing list