GNU bug report logs - #57207
29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling)

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> gmail.com>

Date: Sun, 14 Aug 2022 15:55:01 UTC

Severity: normal

Found in version 29.0.50

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 57207 <at> debbugs.gnu.org, Ihor Radchenko <yantar92 <at> gmail.com>
Subject: bug#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling)
Date: Tue, 16 Aug 2022 12:44:11 +0000
>
> Gregory, perhaps we should restrict the search even further, as this 
> loop could take some tangible time with very large files.  How about if 
> we search from window-start point instead of BEGV, and limit the search 
> by, say, 10,000,000 newlines and 200,000,000 characters, whichever 
> happens first?  Is it really likely to have files with so many short 
> lines, followed by long lines?
>

Yes, that will be part of the next iteration of the code.




This bug report was last modified 2 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.