From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Performance degradation from long lines Date: Sat, 13 Jul 2019 11:07:08 +0200 Message-ID: References: <20190107065207.21793.53271@vcs0.savannah.gnu.org> <20190107065208.BA36C21736@vcs0.savannah.gnu.org> <16bb3884-c2de-b178-afe8-0b13a8b116a8@orcon.net.nz> <3f78c29c0c7c01e21180be5fe4f9e70a@webmail.orcon.net.nz> <11eaa87e-b4e4-2cf8-e9d1-658757b97ffe@orcon.net.nz> <83muhi1hoc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="58397"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Phil Sainty , mithraeum@protonmail.com, Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 13 11:07:33 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmE08-000Ex2-O7 for ged-emacs-devel@m.gmane.org; Sat, 13 Jul 2019 11:07:28 +0200 Original-Received: from localhost ([::1]:54244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmE07-0007y0-00 for ged-emacs-devel@m.gmane.org; Sat, 13 Jul 2019 05:07:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45720) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmE04-0007xr-1z for emacs-devel@gnu.org; Sat, 13 Jul 2019 05:07:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmE03-0001XR-1W for emacs-devel@gnu.org; Sat, 13 Jul 2019 05:07:24 -0400 Original-Received: from mail-wr1-f67.google.com ([209.85.221.67]:40630) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmE01-0001Vo-DX; Sat, 13 Jul 2019 05:07:21 -0400 Original-Received: by mail-wr1-f67.google.com with SMTP id r1so12163742wrl.7; Sat, 13 Jul 2019 02:07:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0DFFIa7nOzXpeTQCMc0G0oTABN+CWHVxOSqpGK9Z4+c=; b=t5BBx1WJlFgIQR89XuLtadt0QDhjCJiYLDBZCmV5ayOOrrp84/FfJit6RIZiJiLpol wFZQdx7J0+lu5PDEFbRpB3e0rE2Mej7F8VuIH0Wr3KLK6Vl8tuhj+p/barkewX9nuHjV ks7FM4zjXc/MoA6jAtLlJP/ts92qHn63iM3kQLmWLMakRCoXsVCrxrsWiqIS2meZ/vSK gSWKIFD/egbUV8yMrhp+LyDDLxWYbS1WzFn38rLUeNzxRkxhRtNzlFHusuX2j48HwHL9 89WFgyOe1OQbEzytbJtAStY/5xfBMCB3skvVXZ7xLpLkZ2XEpkYi+eGsLFTantOdMmE3 sPEg== X-Gm-Message-State: APjAAAXUFJaOur5/sYutVfjqZ5RYZzNGaVfD2Q3fJNLFGGJL8tIuR4Dk PdSKElhtVo0QCOQnJNV1zLKOdc9D905fKiOr63mi/Mjn X-Google-Smtp-Source: APXvYqzojTMOjzVzErlfagSBjqb2UH9X7/OIlkeE4WnpaF7IeNMz2xvrsgZ1wtWzwZx9+sUNJz7KejiVUWW790vdq+4= X-Received: by 2002:adf:cf0d:: with SMTP id o13mr3151578wrj.291.1563008840110; Sat, 13 Jul 2019 02:07:20 -0700 (PDT) In-Reply-To: <83muhi1hoc.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.221.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:238548 Archived-At: Eli Zaretskii writes: > One comment I have is that disabling bidi-display-reordering should > probably be removed from the defaults, because doing so puts the > display engine in a state that is not being tested, and can cause > inconsistencies and even bugs (because some portions of the code were > written under the assumption that this variable is never nil). I think some users are already setting bidi-display-reordering to nil. I stumbled into this the other day, for example: You can try and see if setting bidi-display-reordering to nil improves the speed for you. This removes one significant contributor to line scans, but sadly not the only one. https://emacs.stackexchange.com/questions/598/how-do-i-prevent-extremely-long-lines-making-emacs-slow Should Emacs support that? Should it be added to its doc string that it could be dangerous? Thanks, Stefan Kangas