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

LAST



    From: RWK at MIT-MC (Robert W. Kerns)
    Subject: LAST
    Your comment would be almost valid, except that LAST obviously isn't
    just CDR'ing down the list checking for NIL.  It is doing a LIST-P
    on the CDR instead.
------
You are wrong.  It is doing a NIL check (look at the damn code before
flaming, please).
------
  After all, this isn't very expensive, a MOVEI, a LSH,
    and a SKIPL will do it.  I would muchly appreciate it if APPEND would
    be changed to do likewise.
------
Compared to a JUMPN, a MOVEI, LSH, and SKIPL are quite expensive.
------
  (There should also be a TYPEP before the loop,
    so (LAST 3.3) wouldn't die).
------
I had this idea also, and I might implement it.
------
  After all, the interpreter isn't supposed to
    be fast, it's supposed to be suportive and not die on easy mistakes.
------
This is true...on the other hand, one does not want to make it unbearably slow.
Perhaps a *RSET check is in order...more thought is necessary.

--howard