From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30457: 26.0.91; bidi-display-reordering makes navigation around melpa/archive-contents slow Date: Wed, 14 Feb 2018 21:51:22 +0200 Message-ID: <83mv0bwds5.fsf@gnu.org> References: <83tvujwh2t.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1518637851 24797 195.159.176.226 (14 Feb 2018 19:50:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Feb 2018 19:50:51 +0000 (UTC) Cc: 30457@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 14 20:50:47 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em34K-0004Lq-HT for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 20:50:16 +0100 Original-Received: from localhost ([::1]:54237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em36K-0004Si-Nw for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 14:52:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em365-0004OR-VW for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 14:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1em362-0001jd-0q for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 14:52:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1em361-0001jS-Sh for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 14:52:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1em361-0005xi-ME for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 14:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Feb 2018 19:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30457-submit@debbugs.gnu.org id=B30457.151863789922894 (code B ref 30457); Wed, 14 Feb 2018 19:52:01 +0000 Original-Received: (at 30457) by debbugs.gnu.org; 14 Feb 2018 19:51:39 +0000 Original-Received: from localhost ([127.0.0.1]:43199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em35f-0005xC-C8 for submit@debbugs.gnu.org; Wed, 14 Feb 2018 14:51:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em35d-0005wy-Bp for 30457@debbugs.gnu.org; Wed, 14 Feb 2018 14:51:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1em35U-0001Uh-6E for 30457@debbugs.gnu.org; Wed, 14 Feb 2018 14:51:32 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em35U-0001Ub-22; Wed, 14 Feb 2018 14:51:28 -0500 Original-Received: from [176.228.60.248] (port=1397 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1em35T-0004rk-HK; Wed, 14 Feb 2018 14:51:27 -0500 In-reply-to: (message from Aaron Jensen on Wed, 14 Feb 2018 11:22:37 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143286 Archived-At: > From: Aaron Jensen > Date: Wed, 14 Feb 2018 11:22:37 -0800 > Cc: 30457@debbugs.gnu.org > > > (However, it's nowhere near 13 sec on my box. > > Are you on a mac? No, Windows. > Is there a way to check to see if I was compiled w/ optimizations? What is your value of system-configuration-options? > > And going several lines > > in one go, as in "C-u 20 C-n", makes it even faster.) > > Sure, but everything has a latency and these sort of workaround don't > really solve the overall feel problem. It feels like I'm working over > ssh to a server in another country and the difference when bidi is > disabled is incredible. Only at the beginning of the file. Try the same near the end, and you will see that both are very slow: a single C-n or C-p takes about 2 sec with bidi-display-reordering at nil, and 4 to 5 sec with non-nil. Not a very spectacular speedup. > > Beware: the code which is used when bidi-display-reordering is nil is > > unsupported since Emacs 24, so you are on your own when using it. I > > urge you to reconsider. > > I didn't know this, I'm not sure what it means in practice. It means that we kept the non-reordering code for testing purposes only, so it is very rarely executed, and thus less reliable than the rest of Emacs. > Perhaps I'll turn it back to t for now and just have that in my bag > of tricks if I encounter a file that has this problem. Yes, that's what I recommend.