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

Re: CLOS Speed

    Date: Wed, 29 Jun 88 15:00:13 PDT
    From: larus%paris.Berkeley.EDU@ginger.Berkeley.EDU (James Larus)

    The reason that this function speeds up execution of my program is
    that the body (BODY) passed to DO-DEFTYPE is *interpreted* everytime
    that TYPEP is applied to a PCL object.  In fact, since TYPEP must
    apply many, if not most, of the predicates, these simple code
    fragements are interpreted frequently.

I had assumed that all implementations did the optimization that
prevented this interpreted code from being called at runtime.  It goes
to show that you don't ever know.

I will include your change in the next release of PCL.