On Fri, Jul 14, 2017 at 9:36 PM, Chris Lamb <la...@debian.org> wrote:
> Hi Bastien,
>
>> >   
>> > https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=7319953bad3ae5e0e15f778a7ed19dd20241b77c
>>
>> Did you consider to use the sliding windows algo ?
>
> Thanks for your review. Whilst I am aware of such algorithms, could you
> elaborate on what you mean in concrete terms here?

see sub full_text_check function

Instead of reading line per line you could read block by block.

The algortihm assemble the block by pair therefore avoiding boundary problems

Bastien

>
> Regards,
>
> --
>       ,''`.
>      : :'  :     Chris Lamb, Debian Project Leader
>      `. `'`      la...@debian.org / chris-lamb.co.uk
>        `-

Reply via email to