From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: stop using P_, __P in header files Date: Tue, 6 Jul 2010 01:48:15 +0200 Message-ID: References: <4C2DB1E0.7010305@swipnet.se> <83aaqa9ml7.fsf@gnu.org> <9A690AC5-8C59-4691-88AC-EDDABCF2F704@raeburn.org> <83ocem8w6i.fsf@gnu.org> <83k4p996o0.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278373730 2769 80.91.229.12 (5 Jul 2010 23:48:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Jul 2010 23:48:50 +0000 (UTC) Cc: raeburn@raeburn.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 06 01:48:47 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OVvP3-0001GD-A7 for ged-emacs-devel@m.gmane.org; Tue, 06 Jul 2010 01:48:45 +0200 Original-Received: from localhost ([127.0.0.1]:41302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVvP2-0000T5-NF for ged-emacs-devel@m.gmane.org; Mon, 05 Jul 2010 19:48:44 -0400 Original-Received: from [140.186.70.92] (port=43581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVvOx-0000Sy-9K for emacs-devel@gnu.org; Mon, 05 Jul 2010 19:48:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVvOv-0003Uu-Kl for emacs-devel@gnu.org; Mon, 05 Jul 2010 19:48:39 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:45007) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVvOv-0003Uh-ED; Mon, 05 Jul 2010 19:48:37 -0400 Original-Received: by bwz9 with SMTP id 9so3905095bwz.0 for ; Mon, 05 Jul 2010 16:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=XqAD7a0f7nrbwOpbXSFbmnUs6wgtdYcv8d3pk3MJRbI=; b=NVn8R/eXwMfRMYjFmcuaMmDfWlyRXdwE+VHgW1IkxD1sQgox5ejrcJi5jHevSOcayE MBhWT4NgFDweO8TZYYkBbzT5bjDE6hzvuizbjAuFEyriu7xYgWvA58jH8GIaoX8ntBtS GmsJI35+qQCXEfgUchXBDDqmb7t3rAepsaMaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=TNCgN6cHst/FSp7oMd/eyG/bEn9p+IXROwzt61LRebxIZTH3c1ybmxV2996wuqaTSV Ty11GWjExSDpCEgdf+SrG6koHNpglygyEjri92hKGUxh/v9FBPKsOJT9uxYExsvv9KGD 0Tf6wqDteiU0ioj3cd/GS2V2TmGOyTGOQRCsQ= Original-Received: by 10.204.152.4 with SMTP id e4mr1886735bkw.120.1278373715401; Mon, 05 Jul 2010 16:48:35 -0700 (PDT) Original-Received: by 10.204.53.204 with HTTP; Mon, 5 Jul 2010 16:48:15 -0700 (PDT) In-Reply-To: <83k4p996o0.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126809 Archived-At: On Mon, Jul 5, 2010 at 19:31, Eli Zaretskii wrote: > FWIW, the ones I put in some code I wrote long ago were not naive at > all. =C2=A0And I don't think those we have in Emacs are naive, either. No offense intended, so please excuse my choice of words. My point was that, when the code was written, the register declarations perhaps helped the optimizer (depending of compiler, processor architecture, number of available registers, etc.). Today, it's quite likely they don't. ISTR reading about programs that got a noticeable speedup when "register" was removed altogether from the code... Of course I don't think that'll be the case with Emacs, but I'd bet all of a full euro that there won't be any noticeable slowdown, either. Juanma