Lisp HUG Maillist Archive

Class slot count and KW performance

Hi. Is there any relationship between the slot count of a KW class and KW
performance? In other words, if a class that inherits from
kw:standard-kb-object has a large number of slots, will that degrade
performance, especially during assertion (via assert or make-instance)?
Thanks very much...


David E. Young
Bloodhound Software, Inc.

For wisdom is more precious than rubies,
and nothing you desire can compare with her.
  -- Prov. 8:11

"But all the world understands my language."
  -- Franz Josef Haydn (1732 - 1809)


This email message is for the sole use of the intended recipients(s) and may contain confidential and privileged information of Bloodhound Software, Inc.. Any unauthorized review, use, disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Re: Class slot count and KW performance

Young, David wrote:

>Hi. Is there any relationship between the slot count of a KW class and KW
>performance? In other words, if a class that inherits from
>kw:standard-kb-object has a large number of slots, will that degrade
>performance, especially during assertion (via assert or make-instance)?
>Thanks very much...
>
>
>  
>

Hi,

I think that KW CLOS objects are currently slightly less efficient than 
standard LW CLOS objects (*), but I wouldn't have thought it depended on 
the slot count. In any case this question  is really one for the support 
desk.

__Jason

(*) I think that there is some pending optimization here that never got 
to the top of any priority list.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Updated at: 2020-12-10 08:53 UTC