From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: xenodasein--- via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Thoughts on replacing macros with static inline functions Date: Fri, 18 Nov 2022 08:12:09 +0100 (CET) Message-ID: References: <83r0y4idy8.fsf@gnu.org> Reply-To: xenodasein@tutanota.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7136"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 18 08:13:15 2022 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 1ovvYp-0001gk-KH for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Nov 2022 08:13:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovvXu-0000fH-I0; Fri, 18 Nov 2022 02:12:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovvXp-0000VO-6X for emacs-devel@gnu.org; Fri, 18 Nov 2022 02:12:16 -0500 Original-Received: from w4.tutanota.de ([81.3.6.165]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovvXn-0003EU-KA for emacs-devel@gnu.org; Fri, 18 Nov 2022 02:12:12 -0500 Original-Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id 1ED7B106016E; Fri, 18 Nov 2022 07:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1668755529; s=s1; d=tutanota.de; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=/oI03Hzftxq/MfHbt2EfucSlP5Zr9mpN4yuqB31KiXE=; b=gktxGKvklGRX2DLtKTPjG4moXqUTkFII5q4rNZxSxrZcbY9W0CrEjjbdD23zy/Rl 84QI7LbgtXNhuSnruRSw6h8BJytNaCBxAbI6H0OFePkABXAbwNBreGl1dDtJrfwizXJ CQoaBeFcPlricQR6NAOevH+MK1FBp+/u6JXWR/+pK75ljRfB5RWQPINlZYQVTc6Jbfv Rx0v8Dzf9pa+cncTsBVUx7PSHvHWLkhls3XkTqi4+l2rG6LVtdJ6QD+CW7vboTOH8Dz lOp+pbonvSd/Q3WnIBxx3M/BrgO7pjUSv5d+z7lFt4MgqOmgwRSkcl9BdTjKSr+YkyG NgY7WXO0nw== In-Reply-To: Received-SPF: pass client-ip=81.3.6.165; envelope-from=xenodasein@tutanota.de; helo=w4.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300089 Archived-At: Nov 18, 2022, 06:59 by tomas@tuxteam.de: > On Fri, Nov 18, 2022 at 07:19:45AM +0100, xenodasein--- via Emacs development discussions. wrote: > > [...] > >> Why do you not consider __attribute__((always_inline)) an improvement >> over macros where applicable? >> > > I think you spelled it yourself: "where applicable": this is > something which has to be considered on a case by case basis. > > Cheers > -- > t > For you and me sure, I was curious about Richard's opinion.