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

Bug#514495: [lib/Spelling.pm] check the spelling of large texts in a more efficient way



Package: lintian
Version: 2.2.1
Severity: wishlist
Tags: patch

Hi,

Commit message explains it:
>     When spell checking large texts determine what's more convenient: to
> look every word in the text for spelling mistakes or to look for known
> spelling mistakes in the text.
>
>     This should speed up checking large texts, with the only, minor,
> consecuence being that only the first match of a spelling mistake is found
> and warned about; but since the line numbers are not printed it is not big
> deal.
>
>     Additionally move some regular expressions and other operations so that
> they are performed once for all the text, instead of doing it once on every
> word.


Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net

Attachment: lintian-spelling_optim.mbox
Description: application/mbox


Reply to: