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: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r117006: * lisp/emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
Date: Tue, 22 Apr 2014 00:31:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> I expected the compiler to collapse redundant calls to pure functions,

I wish it did, but sadly, it doesn't know how to do that.
We'd want another property for it, tho (something like `idempotent',
maybe), since that can be applied to different functions.


        Stefan



reply via email to

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