From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1922 Path: news.gmane.org!not-for-mail From: "Arvid E. Picciani" Newsgroups: gmane.linux.lib.musl.general Subject: Re: Feelings on macros vs inline in =?UTF-8?Q?arch/=24=28A?= =?UTF-8?Q?RCH=29/syscall=5Farch=2Eh=20=3F?= Date: Wed, 12 Sep 2012 18:21:15 +0200 Message-ID: <8f7bd1eadcdc1b4d3c7e4e91a6ede511@exys.org> References: <20120909182344.GA7623@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com 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 1347466893 22198 80.91.229.3 (12 Sep 2012 16:21:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2012 16:21:33 +0000 (UTC) To: Original-X-From: musl-return-1923-gllmg-musl=m.gmane.org@lists.openwall.com Wed Sep 12 18:21:37 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TBph2-0004vQ-QJ for gllmg-musl@plane.gmane.org; Wed, 12 Sep 2012 18:21:36 +0200 Original-Received: (qmail 23863 invoked by uid 550); 12 Sep 2012 16:21:32 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 23855 invoked from network); 12 Sep 2012 16:21:32 -0000 In-Reply-To: <20120909182344.GA7623@brightrain.aerifal.cx> X-Sender: aep@exys.org User-Agent: Roundcube Webmail/0.5.4 Xref: news.gmane.org gmane.linux.lib.musl.general:1922 Archived-At: On Sun, 9 Sep 2012 14:23:44 -0400, Rich Felker wrote: > Using inline functions is nicer from standpoint of clean [..] > > Using macros [..] could improve code generation especially on mips > and i386/PIC. I use musl because i can read it. For anything performance relevant we get customized bionic/gnulibc from vendors. If i may, i suggest restricting performance optimizations at the cost of readability to areas that actually have a measurable effect for someone. -- Arvid E. Picciani