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: Mon, 14 Mar 2016 08:42:46 +0100 Message-ID: <56E66B76.7070504@gmx.at> References: <20160309174816.GE3948@acm.fritz.box> <56E0805F.3050804@gmx.at> <20160312170839.GE2572@acm.fritz.box> <56E45B90.3090905@gmx.at> <56E45E72.2010801@cs.ucla.edu> <56E4640F.1000808@gmx.at> <20160312193626.GA10781@acm.fritz.box> <56E53232.80209@gmx.at> <20160313115239.GB1871@acm.fritz.box> <56E55838.2090000@gmx.at> <20160313124958.GC1871@acm.fritz.box> <56E56BF5.907@gmx.at> <83vb4qdzt2.fsf@gnu.org> <56E610BA.6000204@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 1457941419 22779 80.91.229.3 (14 Mar 2016 07:43:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2016 07:43:39 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org To: Paul Eggert , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 08:43:30 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 1afN9z-0001cW-FF for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2016 08:43:27 +0100 Original-Received: from localhost ([::1]:39460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afN9v-0000FV-E1 for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2016 03:43:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afN9c-00007Q-IP for emacs-devel@gnu.org; Mon, 14 Mar 2016 03:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afN9b-0003Lk-M1 for emacs-devel@gnu.org; Mon, 14 Mar 2016 03:43:04 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:62180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afN9b-0003Kj-Bz; Mon, 14 Mar 2016 03:43:03 -0400 Original-Received: from [192.168.1.100] ([212.95.7.73]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MBaDy-1aUtHp10HG-00AVUV; Mon, 14 Mar 2016 08:42:51 +0100 In-Reply-To: <56E610BA.6000204@cs.ucla.edu> X-Provags-ID: V03:K0:cbPTy71JafFaEg3ZbAuIpFvv0Nc2qS5B3Rw1qb7sxeQe7US1iSx /dCPXibLf60P1rYdTFixy+0ldsXyX6/gZnK/9LeKfjslumwMT0MKWIJ4E8U2fZVxMiZrA0u 3ktbWjE8ZIapWN1gs8rYaKjbNp6g++6L5P2PvD4nxjWPzo7kgCvDheuYSxcwS5i1RmlPOwh URMr1fbv3sTwwHz5Y3eCA== X-UI-Out-Filterresults: notjunk:1;V01:K0:p8O/X8+TeHQ=:mZo/fQQ11/2be4+EXWXuka VBVmsSQoDeSsvy/PALYIMEyQ7Sjvp7jakrBzvWVWLOkBjkLc4DFReviZipOeeaatsP9OeUWJx vGFmxlDiQ6/rvHxi1uAY8tJO/0bSIswiZA4YBAYv3D9bjLeRoxMVFo/GaNeMcNqCXPnWG6dCL iKCOGx/Nzf6c9KlqqTCqSr2MDt0T+iFVEQzqEZHw54WybR71AaZWRDdweiQI2S6QBjE7N1lU2 vqEYt6sqxAUAZESSaAXnU+YQAN17LuWKC9EclccKZZYg5pfF/3EM/fWQACVBesbM+lNwmu0JL DDQ1sLX3TTR4vVnm3nsjGXiWH5y2PRFtdo/+9e0KCwp2+LsSgm5hBM9H/iV6p1Y5X4vQCsybQ 9a7sjhGZQxteWW7nX/IVF9Bl8DMqJKWWLKuprajLeiweBDYNDX8PPK7h6lWjrzVjxq/HWi/BF JezHazt2nnCZqAK20icD6y4Sb8HlW673xMHB0k7071D6UaJ5Ul8561nee9jsEdFbQtiPP+cX6 r/TnO08jd6+0EP+RUQ3IefcBEEHf91I9HdG1QJVsg+1WCRcDy9ymGcFUd0H2oHTt/5f0X8ITK PNskOTsMG1nR+mtGOuRXapo+DIdqfEyirzOxYx2tuj+hd+z6TBCZKOBUEUKdKROyt4scZgb3G 7Bb1Js2v7Y76GZdEodWtltQ3sNBy03nrGtoKPBraM8dVpgZO5lr+0NyG6MoMEznKc4CyLFh42 C1zLSmKrWWIqqRkWhWd4ggTpPFUO4aUCH3UZeO+hTHy48WUxHGKysClLYQBjy57ws3u6csZB X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 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:201674 Archived-At: > 24.2 is 8% faster with -O2, 25% faster with -Og, and 3x faster with -O0. ... > I suppose we could spend some time trying to make these go > faster when compiling with -O0, but I think our time is better spent > asking developers to use -Og, or to use -O0 more selectively. I'd really appreciate some guidelines on this. My restrictions are two: (1) Rebuilding Emacs for the sake of debugging a particular problem is in general _not_ an option because it takes almost 1/2 an hour here (and another 1/2 hour to go back to the previous version). (2) Maintaining separate -O0 and -O2 builds is no real option either. I've done that in the past for master only but I never started to do that for the release or other branches because it gets confusing and the overhead is not negligible either. On GNU/Linux I already produce separate builds for Gtk, Motif, Lucid, no-toolkit and GNUStep for both master and release plus an -O3 optimized Gtk build. Currently, I've started using '-O2 -g3 -gdwarf-2' throughout but if people think that -Og or any other option is preferable, I shall do so (I think that I can live with a C-mode slowdown of 25%). martin