Age | Commit message (Collapse) | Author |
|
git-svn-id: svn://tug.org/texlive/trunk@24382 c570f23f-e606-0410-a88d-b1316a301751
|
|
- move the code for continued lines to avoid double-testing
(34% speed improvement for this change alone)
- rm support for continued execute, postaction and depend
- use one split rather than many matches to get the command and argument
- merge the code for similar lines
- flatten the big if-elsif-else structure by moving the 'name first' test
- rm useless next statements (they were even slowing things down)
- order the big switch by number of occurences
- factor out $lastcmd update (not faster, but nicer code IMO)
- access $self members directly rather than using methods
- call parse_line directly rather than quotewords
- misc other tune-ups, inc. preferring split over regexes
Overall measured speed improvement: 43%
Sub length: 200 -> 130 lines
git-svn-id: svn://tug.org/texlive/trunk@22535 c570f23f-e606-0410-a88d-b1316a301751
|
|
takes consequential time, and the creation programs should not ever
produce it. Also added trailing-whitespace check to cron job for master
tlpdb creation. With this change, tlpdb-read-test time is reduced from
~2.4sec to ~1.2sec.
TeXCatalogue.pm (beautify): remove trailing whitespace. Looks like this
can matter in <caption>s which we turn into shortdescs, but nowhere else.
dev/tlpdb-read-test: trivial test script to read tlpdb and nothing else.
git-svn-id: svn://tug.org/texlive/trunk@22498 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@21770 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@19893 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@19838 c570f23f-e606-0410-a88d-b1316a301751
|
|
if nothing else.
git-svn-id: svn://tug.org/texlive/trunk@19777 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@19771 c570f23f-e606-0410-a88d-b1316a301751
|
|
originally the code for parsing was
if ($line =~ m/^keyword\s+(.*)\s*) {
(cum grano salis). But well, the terminal \s* will never be found since
the .* before is greedy. Solution would be to change either all the .* to .*?,
or, as done here, remove terminal whitespace and grep for (.*)$.
This gives also a slight semantics change, but that was anyway never allowed,
namely that you could write lines
revision 1234 12121 jkfj j sooooo
and still it was correctly parsed (maybe --- didn't test it).
git-svn-id: svn://tug.org/texlive/trunk@19756 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@18639 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@18612 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@18379 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@17183 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@16947 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@16923 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@16743 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@16713 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@16704 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@16426 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@15667 c570f23f-e606-0410-a88d-b1316a301751
|
|
TLPSRC, TLPOBJ: set format_lines_per_page on the right file handle
tl-update-tlpdb: rename a couple options, mess with doc
tl-update-bindir: cygwin location
git-svn-id: svn://tug.org/texlive/trunk@15651 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@15626 c570f23f-e606-0410-a88d-b1316a301751
|
|
comparison (from Alexander Cherepanov, 30 Sep 2009 02:45:28)
git-svn-id: svn://tug.org/texlive/trunk@15570 c570f23f-e606-0410-a88d-b1316a301751
|
|
$, either; bad parrun/shipunov fix in Catalogue.
git-svn-id: svn://tug.org/texlive/trunk@15375 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@15289 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@15253 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@15252 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@15044 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@14715 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@14553 c570f23f-e606-0410-a88d-b1316a301751
|
|
all modules: add MODULE->module_revision function
tlmgr: if action version is called with -v, also issue the revision of the
modules used (eg TLPDB->module_revision())
git-svn-id: svn://tug.org/texlive/trunk@14552 c570f23f-e606-0410-a88d-b1316a301751
|
|
support the open pragma.
(OOPS: commited more than I wanted to. Also added files from the generic package
'shade'. This package was 'added' in r14213.)
git-svn-id: svn://tug.org/texlive/trunk@14264 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@14242 c570f23f-e606-0410-a88d-b1316a301751
|
|
report from Andre van Eyssen, 29 Jun 2009 19:25:52)
git-svn-id: svn://tug.org/texlive/trunk@14033 c570f23f-e606-0410-a88d-b1316a301751
|
|
if it does not match the given regexp from TLConfig. TLPSRC still
dies if an unknown category is met, so we are sure that TLConfig and
created tlpdbs are consistent.
git-svn-id: svn://tug.org/texlive/trunk@13908 c570f23f-e606-0410-a88d-b1316a301751
|
|
we always counted in the bin files for the main package, too.
git-svn-id: svn://tug.org/texlive/trunk@13726 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@13683 c570f23f-e606-0410-a88d-b1316a301751
|
|
that means that:
- handle_ret_hash is renamed to handle_execute_actions
- make_ret_hash_from_execute is gone and replaced by
TLUtils::announce_execute_actions
git-svn-id: svn://tug.org/texlive/trunk@13671 c570f23f-e606-0410-a88d-b1316a301751
|
|
prefix, or the creation of the containers breaks
git-svn-id: svn://tug.org/texlive/trunk@13648 c570f23f-e606-0410-a88d-b1316a301751
|
|
function in TLUtils, use this function in TLPOBJ, and reuse this function
in check-execute_consistency to check the format execute consistency
git-svn-id: svn://tug.org/texlive/trunk@13577 c570f23f-e606-0410-a88d-b1316a301751
|
|
file checking in check-tlnet-consistency
git-svn-id: svn://tug.org/texlive/trunk@13575 c570f23f-e606-0410-a88d-b1316a301751
|
|
directive, not just the line.
git-svn-id: svn://tug.org/texlive/trunk@13467 c570f23f-e606-0410-a88d-b1316a301751
|
|
into TLPOBJ
git-svn-id: svn://tug.org/texlive/trunk@13386 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@13340 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@13204 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@13054 c570f23f-e606-0410-a88d-b1316a301751
|
|
not "--exclude=", ".svn", which includes every
.svn.
git-svn-id: svn://tug.org/texlive/trunk@12320 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@12258 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@12254 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@12124 c570f23f-e606-0410-a88d-b1316a301751
|