Re: with-slots on instances of structure classes and performance
- From: "david.tolpin@xxxxxxxxx" <david.tolpin@xxxxxxxxx>
- Date: 29 Apr 2006 09:40:26 -0700
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
.
- Follow-Ups:
- References:
- with-slots on instances of structure classes and performance
- From: david.tolpin@xxxxxxxxx
- Re: with-slots on instances of structure classes and performance
- From: jayessay
- with-slots on instances of structure classes and performance
- Prev by Date: Crazy macro
- Next by Date: Re: Crazy macro
- Previous by thread: Re: with-slots on instances of structure classes and performance
- Next by thread: Re: with-slots on instances of structure classes and performance
- Index(es):
Relevant Pages
|