diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-10-23 10:51:22 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-10-23 11:29:05 +0100 |
commit | 414a8cf52ff2315e60a86007ffafd1513e5f55c7 (patch) | |
tree | f3d1b4171d3e6c1b37130d5e7d53177c0b9db170 /src | |
parent | 193560790ce99061cec50869f79bdcc787ed7783 (diff) | |
download | coreutils-414a8cf52ff2315e60a86007ffafd1513e5f55c7.tar.xz |
maint: improve sc_long_lines syntax-check speed
sc_long_lines was the slowest syntax check
before$ time make sc_long_lines
long_lines
real 0m2.740s
after $ time make sc_long_lines
long_lines
real 0m0.677s
* src/cfg.mk (sc_dd_max_sym_length): s/--max-line-length/-L/
for compat with BSDs.
(sc_long_lines): Prefilter with wc -L to only identify lines
in files that have lines longer than 80 characters.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions