From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] comment-cache 223d16f 2/3: Apply `comment-depth' text properties when calling `back_comment'. Date: Sat, 12 Mar 2016 19:46:39 +0100 Message-ID: <56E4640F.1000808@gmx.at> References: <20160308132530.861.91488@vcs.savannah.gnu.org> <20160308183010.GB6269@acm.fritz.box> <20160309174816.GE3948@acm.fritz.box> <56E0805F.3050804@gmx.at> <20160312170839.GE2572@acm.fritz.box> <56E45B90.3090905@gmx.at> <56E45E72.2010801@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1457808447 22249 80.91.229.3 (12 Mar 2016 18:47:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2016 18:47:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert , Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 12 19:47:18 2016 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 1aeoZ9-0000D4-CY for ged-emacs-devel@m.gmane.org; Sat, 12 Mar 2016 19:47:07 +0100 Original-Received: from localhost ([::1]:33070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeoZ5-0007Q4-Ig for ged-emacs-devel@m.gmane.org; Sat, 12 Mar 2016 13:47:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeoZ1-0007Oh-AJ for emacs-devel@gnu.org; Sat, 12 Mar 2016 13:47:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeoYy-0006om-36 for emacs-devel@gnu.org; Sat, 12 Mar 2016 13:46:59 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:58727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeoYx-0006oh-QC for emacs-devel@gnu.org; Sat, 12 Mar 2016 13:46:56 -0500 Original-Received: from [192.168.1.100] ([212.95.7.74]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MUI8w-1aErj61HD0-00R43N; Sat, 12 Mar 2016 19:46:42 +0100 In-Reply-To: <56E45E72.2010801@cs.ucla.edu> X-Provags-ID: V03:K0:X8RFIJU8Ks9vQsREk6sx3zN84B+/M2ZQ8WhwXGKU0LknAPEucH9 ow25REnIiRalVToiLIVgCzEfrwbTQ5L3tkCauvBmJa34OsuXTNhx9zeWonRF3O+9PRwCDWc tNt8Shuy+QLRxeWuHvqqNQCbz9Z6ufKT6UIlOx0eHE1KGCwcRtwxFfvagZRhdFjqAxa7AHt q+q9l6kfPE7H/4eKrkSNQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:6ktJUlQKh4k=:LjhaKtBmP42mSv6Nya4k3X ekD6R6bFI8nB/mYL5kINx8QLc0lTtPffWuFzNOV2qdD47aTNG1izRAIc5sX9IM36mzxD8cm0m eH4TrSnv8C8r2VLknKjZHyXSLZfNBAlYVh0xlKDS4SMBDvpmB+zTPQJC5GYQRXEP4wFQRM13P C6lAZCHgDxQHwMyICTU5x8i0ywbGU6hra+MasdZnXb4Fu6Ci/eSEN56c1YXC/3l66z3VfXSIO Wu1oXCvo1FWYYocgkoxsu7S6LocdeZOop4NDyq7rpKCn60Q0uGuEv1oTkucArxS0tLNoizowI d7QU8rNrpw/GH4M/u+X+c3oXg0NsAB70dbfq0O4SnY6rvBVZ9rdn346iw237eJmrHlAYREF/h plna3IytmFlX+u7tkF1W9EwnbYP6/6Q6hF4sJGv+1NaBXuJDtIHf7atZEvFALAISXYB0fbca6 FxqL3oZ4gIZBBIBlOdMuDWN/HQCnZIuE9BUrW6QiACkqS2ZDf0eV8WPygNcyS06P5RJe5FIpL sZdKBe2V+PR688x0DVan/V746OO95KoPYwGdHQNiscfr8eYAoQQcXGdm49m0360VVnO1tTwdG 8G1+tDCnynRzcHOdCSOXusQWCrcA5y6tAj++3vHleqe0M+RpB+cM7evc5L33hcD7P1qo6Tc95 zvboVb2tIMRhbg6h6e25a7RdvvTC+jIYwaaTGXGqcUMZYSDBVFqYZBuzEsoz2lyr948auHb5J 4Hf8gd/nIo1r3FXQHIociktuZwksREFzBhs06BFmZFRQLGYUJdK3jNwyXXAlW1/+iLOB3xW9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 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:201541 Archived-At: > Possibly you're seeing the effect of emacs-25 commit > 7352c6c695db8b90b63c2601277d64a32507d2bb, which was merged to master > only in commit 63efcc268635dea78c6bd80749eae4ee2c72d717 (within the > past 24 hours). If your master predates the later commit that could > explain the symptoms you're seeing. I now repeated the experiments with latest master and still see the results I mentioned earlier. That is, with the functions I gave earlier, the release branch is faster than master by a factor of 20! Could someone try to repeat with master _and_ release and post the results? (defun foo () (interactive) (while (not (eobp)) (c-end-of-defun))) (defun bar () (interactive) (while (not (bobp)) (c-beginning-of-defun))) (defun foofoo () (interactive) (elp-instrument-function 'c-end-of-defun) (goto-char (point-min)) (foo) (elp-results)) (defun foobar () (interactive) (elp-instrument-function 'c-beginning-of-defun) (goto-char (point-max)) (bar) (elp-results)) (find-file-noselect "../src/xdisp.c") (switch-to-buffer-other-window "xdisp.c") And in xdisp.c's window do M-x foofoo and M-x foobar. Thanks, martin