unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 30457@debbugs.gnu.org
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	[thread overview]
Message-ID: <83mv0bwds5.fsf@gnu.org> (raw)
In-Reply-To: <CAHyO48w=AxU8t14ThDWjkOLJvdHehn0miducqEKMp-AChf0TxQ@mail.gmail.com> (message from Aaron Jensen on Wed, 14 Feb 2018 11:22:37 -0800)

> From: Aaron Jensen <aaronjensen@gmail.com>
> 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.





  reply	other threads:[~2018-02-14 19:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-14 16:49 bug#30457: 26.0.91; bidi-display-reordering makes navigation around melpa/archive-contents slow Aaron Jensen
2018-02-14 18:40 ` Eli Zaretskii
2018-02-14 19:22   ` Aaron Jensen
2018-02-14 19:51     ` Eli Zaretskii [this message]
2018-02-15 18:49       ` Aaron Jensen
2018-02-15 21:47         ` Eli Zaretskii
2018-02-15  1:48     ` Noam Postavsky
2018-02-15  3:07       ` Aaron Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mv0bwds5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30457@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).