emacs-devel
[Top][All Lists]
Advanced

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

Re: Adding rassq-delete-all to lisp/subr.el.


From: Richard Stallman
Subject: Re: Adding rassq-delete-all to lisp/subr.el.
Date: Thu, 21 Apr 2005 11:30:38 -0400

    > Strange, (cadr ...) is just a defsubst for (car (cdr ...)).  So
    > compiled it should make no difference.

    The defsubst binds and unbinds x.  I consider that a byte compiler
    deficiency.

In general, the byte compiler cannot omit that binding.
It does not know that the binding won't be  referred to
from one of the functions that is called.

However, in this specific case, cadr calls only primitives, so that
can't happen.  It would not be too hard to change the compiler to
recognize that and eliminate the binding.  That could be a useful
thing to work on, but shouldn't be installed now.






reply via email to

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