On Tue, Jan 26, 1999 at 03:00:41PM +0100, Hrvoje Niksic wrote:
sperber(a)informatik.uni-tuebingen.de (Michael Sperber [Mr.
Preprocessor]) writes:
> >>>>> "Hrvoje" == Hrvoje Niksic <hniksic(a)srce.hr>
writes:
>
> Hrvoje> Many of the recent performance changes included replacing Fsetcar()
> Hrvoje> and Fsetcdr() with XCAR/XCDR on the left side of an
> Hrvoje> assignment.
>
> This is also bad for another reason---if we ever want to put in a
> write barrier to support faster GC, we'll have to change things back
> to Fsetcar/cdr.
I won't change things back to Fsetcar/cdr because they introduce
needless error checking (the point of XCAR/XCDR is that we *know*
we're accessing conses), but I think I'll introduce XSETCAR/XSETCDR
macros with no loss of speed.
Note that this will too address Michael's concern : we will be able to
change XSETCAR/XSETCDR to do whatever pleases us, including calling
the functional versions.
OG.