GNU bug report logs - #7338
23.2; princ-list use mapc

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42 <at> zip.com.au>

Date: Fri, 5 Nov 2010 22:19:02 UTC

Severity: wishlist

Tags: patch

Found in version 23.2

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 7338-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Kevin Ryde <user42 <at> zip.com.au>
Subject: Re: bug#7338: 23.2; princ-list use mapc
Date: Mon, 08 Nov 2010 10:47:46 -0500
> I suppose the byte code comes out about the same, but `mapc' on a small
> fixed-length list might in the future have a chance of being optimized
> to individual calls to , save some looping ops.

Your patch is good, thanks.

> (Presuming princ-list remains a defsubst so it expands.
> Personally I'd have been tempted not to bother inlining it.)

Yes, it seems completely useless to mark it as a defsubst.  It's not
even useful enough to merit existence; so I've marked it obsolete.


        Stefan




This bug report was last modified 14 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.