unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Dmitry Antipov <dmantipov@yandex.ru>, emacs-devel@gnu.org
Subject: Re: Region cache for bidi paragraphs?
Date: Mon, 05 Aug 2013 12:00:33 -0400	[thread overview]
Message-ID: <jwveha8yw8b.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83siyow4i6.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Aug 2013 18:18:09 +0300")

> The gains sound marginal to me, especially given that the use case
> where the gains are tangible (Input 1, very long line and no paragraph
> separators anywhere in sight) doesn't look like a frequent use case.
> Even in that case you get a speedup of a few milliseconds per
> redisplay cycle.

I like performance improvements, but I tend to agree that in this case,
I'd first like to see some concrete use-case that benefit from it (and
"benefit" in this case should probably mean "finally keeps up while
scolling" or "makes it useable again").

So, does it help keep up with scrolling in the recent C++ example?
Or dos it make it possible to edit that 1MB file with no newlines?
Or is there some other concrete use case where it makes a tangible
difference (other than benchmarks)?

Of course, maybe in itself this patch doesn't do any such thing, but
combined with some other patches it will.  So, even if it doesn't seem
worth the trouble now, it might be worth keeping it around.


        Stefan



  reply	other threads:[~2013-08-05 16:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-02 11:11 Region cache for bidi paragraphs? Dmitry Antipov
2013-08-02 14:03 ` Eli Zaretskii
2013-08-05  5:26   ` Dmitry Antipov
2013-08-05 15:18     ` Eli Zaretskii
2013-08-05 16:00       ` Stefan Monnier [this message]
2013-08-05 16:52         ` Eli Zaretskii
2013-08-05 17:12           ` Dmitry Antipov
2013-08-05 17:17             ` Eli Zaretskii
2013-08-06  7:15           ` Dmitry Antipov
2013-08-06 14:51             ` Eli Zaretskii
2013-08-06 16:04               ` Yet another redisplay question Dmitry Antipov
2013-08-06 16:42                 ` Eli Zaretskii

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=jwveha8yw8b.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dmantipov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).