From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Region cache for bidi paragraphs? Date: Mon, 05 Aug 2013 12:00:33 -0400 Message-ID: References: <51FB93C5.1020804@yandex.ru> <83bo5gyytp.fsf@gnu.org> <51FF378D.9000305@yandex.ru> <83siyow4i6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375718492 18617 80.91.229.3 (5 Aug 2013 16:01:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 16:01:32 +0000 (UTC) Cc: Dmitry Antipov , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 05 18:01:34 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V6NDx-0001jr-GX for ged-emacs-devel@m.gmane.org; Mon, 05 Aug 2013 18:01:33 +0200 Original-Received: from localhost ([::1]:55493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6NDw-0002SK-9S for ged-emacs-devel@m.gmane.org; Mon, 05 Aug 2013 12:01:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6NDI-0001b8-3l for emacs-devel@gnu.org; Mon, 05 Aug 2013 12:00:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6NDA-0001wb-DC for emacs-devel@gnu.org; Mon, 05 Aug 2013 12:00:51 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:38180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6ND0-0001tS-Pe; Mon, 05 Aug 2013 12:00:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxKix/2dsb2JhbABEvw4Xc4IeAQEEAVYWDQULCzQSFBgNJIgeBsEtkQoDpHqBXoMT X-IPAS-Result: Av4EABK/CFFFxKix/2dsb2JhbABEvw4Xc4IeAQEEAVYWDQULCzQSFBgNJIgeBsEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20595069" Original-Received: from 69-196-168-177.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.177]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 Aug 2013 12:00:27 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7C7B062CD9; Mon, 5 Aug 2013 12:00:33 -0400 (EDT) In-Reply-To: <83siyow4i6.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Aug 2013 18:18:09 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162436 Archived-At: > 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