emacs-devel
[Top][All Lists]
Advanced

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

Re: optimizing defconst


From: Richard Stallman
Subject: Re: optimizing defconst
Date: Mon, 29 Oct 2007 22:14:54 -0400

    What about an option to make a constant read-only, something like

    (defconst ...
       :read-only t)

It is work which is not necessary.
It is better if we save our time for other things.

    Then the byte-compiler could check to see if a constant (or any
    variable for that matter) is really read-only and optimize it away.

It is a clean way to do this job, but this job does not need to be
done at all.




reply via email to

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