[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] maint.mk: expand the prohibit_doubled_word regex
From: |
Ján Tomko |
Subject: |
Re: [PATCH v2] maint.mk: expand the prohibit_doubled_word regex |
Date: |
Tue, 2 Aug 2016 13:15:02 +0200 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Tue, Aug 02, 2016 at 12:59:40PM +0200, Ján Tomko wrote:
This check has a static list of words that are checked for
repetitions. Expand it before running the perl script to
avoid using expensive captures. This decreases the cost
for libvirt from 1.66s to 0.66s.
* top/maint.mk (prohibit_doubled_word_expanded_): Define.
(sc_prohibit_doubled_word): Use it.
---
Rebased on top of the patch proposed by Jim Meyering for:
[PATCH 4/4] useless-if-before-free: skip non-matching lines early
ChangeLog | 10 ++++++++++
top/maint.mk | 7 ++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
NACK, this does not work.
Jan
signature.asc
Description: Digital signature