From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Reliable after-change-functions (via: Using incremental parsing in Emacs) Date: Sat, 04 Apr 2020 15:04:02 +0000 Message-ID: References: <835zek1kpv.fsf@gnu.org> <83v9mkz5oo.fsf@gnu.org> <83pncsym6l.fsf@gnu.org> <4a9d6bb2-458d-89b0-5389-d1f883ef24a1@yandex.ru> <20200401135237.GA6240@ACM> <20200404110643.GB5329@ACM> <83eet3v6ev.fsf@gnu.org> <835zefuxc9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="36069"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: acm@muc.de, casouri@gmail.com, dgutov@yandex.ru, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 04 17:04:44 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKkLj-0009Gl-NK for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Apr 2020 17:04:43 +0200 Original-Received: from localhost ([::1]:39338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKkLi-0005i4-MA for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Apr 2020 11:04:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42381) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKkLB-0005Hy-Uj for emacs-devel@gnu.org; Sat, 04 Apr 2020 11:04:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKkLA-0000Yo-TX for emacs-devel@gnu.org; Sat, 04 Apr 2020 11:04:09 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:57820) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jKkL6-0000SU-Jg; Sat, 04 Apr 2020 11:04:04 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 034F42ZW009606 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 4 Apr 2020 15:04:02 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 034F42SX005121; Sat, 4 Apr 2020 15:04:02 GMT In-Reply-To: <835zefuxc9.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Apr 2020 17:41:58 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 205.166.94.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246406 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: Alan Mackenzie , dgutov@yandex.ru, casouri@gmail.com, >> monnier@iro.umontreal.ca, emacs-devel@gnu.org >> Date: Sat, 04 Apr 2020 14:14:45 +0000 >> >> Be careful that -Og produce considerably slower code than -O2. For >> instance if I'm not wrong it disable completely inlining that is one of >> the most rewarding optimizations. > > Yes, I know. But the difference in performance between -Og and -O2 > cannot be 8- or 9-fold, it should be somewhere around 50% to 70%. Mmmh I agree with you, one magnitude order sounds a bit too much, even if we have a ton of small getter/setters that are usually inlined. -- akrl@sdf.org