From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs 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 Message-ID: <325f95fd2bc6aa9295b8@heytings.org> References: <87bksmx1j1.fsf@localhost> <5900f208367791fbdfe2@heytings.org> <87tu6d4txk.fsf@localhost> <835yitiucj.fsf@gnu.org> <871qthsiio.fsf@localhost> <83tu6dh97n.fsf@gnu.org> <83mtc5h1tg.fsf@gnu.org> <87v8qs34tx.fsf@localhost> <83tu6cfjvz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4331"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57207@debbugs.gnu.org, Ihor Radchenko To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 14:54:54 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oNw5s-0000QM-29 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 14:54:52 +0200 Original-Received: from localhost ([::1]:40354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNvwl-0006BE-6G for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 08:45:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNvwO-00068V-7r for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:45:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNvwM-0004OU-DY for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNvwM-00006o-Ad for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57207 X-GNU-PR-Package: emacs Original-Received: via spool by 57207-submit@debbugs.gnu.org id=B57207.1660653854324 (code B ref 57207); Tue, 16 Aug 2022 12:45:02 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 16 Aug 2022 12:44:14 +0000 Original-Received: from localhost ([127.0.0.1]:45223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNvva-000056-7y for submit@debbugs.gnu.org; Tue, 16 Aug 2022 08:44:14 -0400 Original-Received: from heytings.org ([95.142.160.155]:55784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNvvY-00004x-4V for 57207@debbugs.gnu.org; Tue, 16 Aug 2022 08:44:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1660653851; bh=zTmZlO3x7pj62vvFa8e3aar9VZ8453ZscSqmB3RJm1U=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=dgJgClA2XkNV9o8rxyIrUA/4Lhl0Qd/kBf0pBvlrbN3h6jFmOV44fXH0NOLQehQSo 9mLHDjHgrt0ANmULDsWxCcV4iV4W/VGiBH8l1tSSJW+rohwam/7h7A94i17RcLNlJx 221JPYB7jnNZFiK84BCyoqJ+decIUiPzkMJEJmrry2LFaOgODTt8hIZHExt7J5ip+q 5uqRvUFqLNCpsQCYsXv2Nblhy+TUCigp4dbZ1cvc+hVY4mp/JVdAnLqRz8R7ieU0xs zOBvtd8dXkeeQxPbw7NQELUYVGMr8zgODibS3PSQ5xnLY5EtLCY8vVXrsSQ0nDH2SP CwdCTER3d1SZw== In-Reply-To: <83tu6cfjvz.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239917 Archived-At: > > 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.