Re: [ovs-dev] [PATCH 2/2] checkpatch: Speed up checking when spell checking not enabled.

2018-11-02 Thread Ben Pfaff
Thanks for the patches, I applied this to master. On Fri, Nov 02, 2018 at 01:17:25PM -0700, Yifeng Sun wrote: > Looks good to me, thanks. > > Reviewed-by: Yifeng Sun > > On Thu, Nov 1, 2018 at 8:07 AM Ben Pfaff wrote: > > > On my machine it takes almost a second for enchant to read its dictio

Re: [ovs-dev] [PATCH 2/2] checkpatch: Speed up checking when spell checking not enabled.

2018-11-02 Thread Yifeng Sun
Looks good to me, thanks. Reviewed-by: Yifeng Sun On Thu, Nov 1, 2018 at 8:07 AM Ben Pfaff wrote: > On my machine it takes almost a second for enchant to read its dictionary. > This time is wasted when spell checking is not enabled. This commit makes > checkpatch read the dictionary only when

[ovs-dev] [PATCH 2/2] checkpatch: Speed up checking when spell checking not enabled.

2018-11-01 Thread Ben Pfaff
On my machine it takes almost a second for enchant to read its dictionary. This time is wasted when spell checking is not enabled. This commit makes checkpatch read the dictionary only when it will be used. Signed-off-by: Ben Pfaff --- utilities/checkpatch.py | 117 +