in reply to Re: perlcritic speedup
in thread perlcritic speedup
Hmm. I was thinking about running perlcritic in background, but I didn't understood how this should work. Background perlcritic process will check some previous version of editing file, because I'll change it while perlcritic is running. So, when perlcritic will return it results, the line numbers in it output won't match current line numbers, some perlcritic messages won't be actual anymore, etc. This way perlcritic messages should confuse more than help.
It probably possible to try to calculate differences between these two file versions, and fix perlcritic messages (at least line numbers) before showing them. But I don't sure this can be implemented in reliable way, to avoid showing non-actual anymore perlcritic messages.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perlcritic speedup
by jthalhammer (Friar) on Jan 25, 2012 at 09:25 UTC | |
by powerman (Friar) on Jan 25, 2012 at 09:53 UTC | |
by jthalhammer (Friar) on Jan 25, 2012 at 10:09 UTC | |
by powerman (Friar) on Jan 25, 2012 at 10:29 UTC |