[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib-tool.py: Correct type hint and doc string.
From: |
Collin Funk |
Subject: |
Re: gnulib-tool.py: Correct type hint and doc string. |
Date: |
Sat, 03 Aug 2024 17:31:15 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Bruno Haible <bruno@clisp.org> writes:
> While doing that, if you could also please fix the relation between
> module <m> and module <m>-tests?
>
> $ ./gnulib-tool --extract-dependencies hamt-tests
> hamt
>
> $ ./gnulib-tool --extract-dependents hamt
> (none)
>
> The latter invocation should list hamt-tests.
Sure, no problem. I assume that since the 'module-tests' is implicit we
just have to check for the existence of f'{self.name}-tests'.
> And then, before simplifying, it would be useful to optimize
> --extract-recursive-dependents. Currently
>
> $ ./gnulib-tool --extract-recursive-dependents stdlib
>
> does not complete within a reasonable time.
Yeah, that is the main reason that I wanted to look at it. You
implemented this after Paul wanted to use it for 'c99' [1]. I noticed
that one was very slow yesterday.
$ time gnulib-tool --extract-recursive-dependents stdlib
[...]
real 0m52.093s
user 0m10.577s
sys 0m45.718s
$ time gnulib-tool --extract-recursive-dependents c99
[...]
real 1m36.230s
user 0m20.062s
sys 1m24.070s
Collin
[1] https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00292.html