[Top][All Lists]

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

Re: Optimization of applicable smobs

From: Dirk Herrmann
Subject: Re: Optimization of applicable smobs
Date: Thu, 7 Dec 2000 10:07:38 +0100 (MET)

On 6 Dec 2000, Keisuke Nishida wrote:

> Mikael Djurfeldt <address@hidden> writes:
> >    * Note now the possibility for a nice optimization:
> >
> >      If the function stored in `apply' takes, for example, two
> >      required arguments, then the *function itself* can be stored in
> >      `trampoline2', and we have eliminated one level of indirection.
> There is an alternative method.  Instead of creating new fields in each
> smob descriptor, we can store functions corresponding to each gsubr_type
> in a global table.  This is more space efficient if there are more than
> 32 smob types.

But, if I understand this correctly, you could not apply the optimization
above then, right?  If this assumption is true, I would not care about the
space efficiency, since the number of smobs will always be relatively

Best regards,
Dirk Herrmann

reply via email to

[Prev in Thread] Current Thread [Next in Thread]