emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r117006: * lisp/emacs-lisp/cl-macs.el (cl-struct


From: Daniel Colascione
Subject: Re: [Emacs-diffs] trunk r117006: * lisp/emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
Date: Mon, 21 Apr 2014 21:00:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 04/21/2014 08:18 PM, Stefan Monnier wrote:
> ------------------------------------------------------------
> revno: 117006
> revision-id: address@hidden
> parent: address@hidden
> committer: Stefan Monnier <address@hidden>
> branch nick: trunk
> timestamp: Mon 2014-04-21 23:18:15 -0400
> message:
>   * lisp/emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.

I expected the compiler to collapse redundant calls to pure functions,
but not to evaluate them completely at compile time. That's an elegant
approach.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]