From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15555: Re: bug#15555: 24.3; Bidirectional display very slow with long lines Date: Tue, 18 Feb 2014 19:58:17 +0200 Message-ID: <834n3w716u.fsf@gnu.org> References: <83wqlo461e.fsf@gnu.org> <8338obskk4.fsf@gnu.org> <83iox6qt1t.fsf@gnu.org> <53035588.3080705@dev.rtsoft.ru> <53036EBA.4060104@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1392746350 18579 80.91.229.3 (18 Feb 2014 17:59:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 17:59:10 +0000 (UTC) Cc: 15555@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 18 18:59:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WFowu-00031p-NE for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 18:59:16 +0100 Original-Received: from localhost ([::1]:52486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFowu-0008Cz-CG for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 12:59:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFowm-00087V-Nu for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 12:59:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFowg-0006P1-H0 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 12:59:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFowg-0006Os-DR for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 12:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WFowf-0007Bb-Ps for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 12:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Feb 2014 17:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15555-submit@debbugs.gnu.org id=B15555.139274629827556 (code B ref 15555); Tue, 18 Feb 2014 17:59:01 +0000 Original-Received: (at 15555) by debbugs.gnu.org; 18 Feb 2014 17:58:18 +0000 Original-Received: from localhost ([127.0.0.1]:58773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFovx-0007AN-BE for submit@debbugs.gnu.org; Tue, 18 Feb 2014 12:58:17 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:46008) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFovu-0007A2-PS for 15555@debbugs.gnu.org; Tue, 18 Feb 2014 12:58:15 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N1700H00DPMAA00@mtaout26.012.net.il> for 15555@debbugs.gnu.org; Tue, 18 Feb 2014 19:56:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1700EDQDU6HK30@mtaout26.012.net.il>; Tue, 18 Feb 2014 19:56:30 +0200 (IST) In-reply-to: <53036EBA.4060104@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85842 Archived-At: > Date: Tue, 18 Feb 2014 18:31:22 +0400 > From: Dmitry Antipov > Cc: 15555@debbugs.gnu.org > > Now I'm seeing the use case where each trivial cursor movement causes > ~100 calls to bidi_shelve_cache, and each call copies ~1.5M of data. Is this still the same use case with your bug15555 function and the 4000.txt file? If not, please describe this use case. As for calls to bidi_shelve_cache, they are a side effect of saving and restoring the iterator object, see the commentary before the definition of the SAVE_IT macro.