bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 3/4] maint.mk: speed up require_config_h_first


From: Jim Meyering
Subject: Re: [PATCH 3/4] maint.mk: speed up require_config_h_first
Date: Sat, 30 Jul 2016 13:26:01 -0700

On Tue, Jul 26, 2016 at 7:28 AM, Ján Tomko <address@hidden> wrote:
> Instead of spawning three processes per file, rewrite the check
> in perl and run it once for all the files.
> ---
> Alternatively, grep --max-count 1 could help with getting rid of
> the per-file commands and extra sed, but I don't know if it's
> portable enough.
>
>  ChangeLog    |  7 +++++++
>  top/maint.mk | 25 ++++++++++++++++++-------
>  2 files changed, 25 insertions(+), 7 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index b698a6c..64e2026 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,5 +1,12 @@
>  2016-07-26  Ján Tomko  <address@hidden>
>
> +       maint.mk: speed up require_config_h_first
> +
> +       Instead of spawning three processes per file, rewrite the check
> +       in perl and run it once for all the files.

Thank you. Nice patch.
I've made some small changes and am ready to push this, but will wait
to hear from you.

Attachment: maint-mk-speed-up-require_config_h_first.diff
Description: Text document


reply via email to

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