Re: with-slots on instances of structure classes and performance




That's what environment access can buy you. If (as you mentioned) you
are still using Allegro, I believe you should be able to get at this
in macros via the environment access stuff in ACL 7+.

Yes, thanks a lot, that was it. I've implemented it for Allegro (don't
see a way for CMU, but its structure accessors are fast anyway, and the
code is almost as fast), and now my code is only 15-20% slower with
Allegro than with LispWorks.

On the other hand, it is a shame that Lisp forces to do such things
manually (and in implementation-specific way), and a case when
Hindley-Milner type system and type derivation would shine.

David

.



Relevant Pages

  • Re: Windows Common LISP
    ... including an editor (Windows-y or Emacs-y) and a project manager, a GUI, ... I'll grant you that packaging up Allegro and Lispworks in a LispBox- ... Well to do a universal free as in beer package he had to start with Emacs+Slime+ASDF so by the time he got to the Lisp it was no time to start talking about the LW IDE or the ACL IDE. ...
    (comp.lang.lisp)
  • Re: ACL + CLC on Ubuntu
    ... Does anyone know how to get ACL 8.0 personal to work like the way SBCL ... (uid (excl.osi:stat-uid stat))) ... (values uid mode my-uid)))) ...
    (comp.lang.lisp)
  • Re: with-slots on instances of structure classes and performance
    ... in macros via the environment access stuff in ACL 7+. ... I've implemented it for Allegro (don't ... (actually it does more than just type inference, ... code motion) in a major system I built even before the ...
    (comp.lang.lisp)