A possible STK_slot_ref optimization
I noticed that STK_slot_ref and related functions do a full STK_apply and
cons up a 1 or 2 argument list for the case when the slot has a getter
function associated with it. Using a specialized version of apply
that just checked for a 1 argument function and funcalls it should have
less overhead. The argument count could even be checked when the class is
defined.
k
Received on Tue May 02 1995 - 22:34:49 CEST
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST