[Openmcl-devel] Class instance vs struct creation question

j-anthony at comcast.net j-anthony at comcast.net
Tue May 10 14:03:44 PDT 2011

Hi All,

I thought I sent this before, but if so it fell off the edge of the

Doing some trials, I notice that creating an instance of a class takes
around 10x more time than creating a "comparable" structure.  By
"comparable" I mean 'has the same user level slot definitions'.  This is
mostly an issue of curiosity as the difference only starts to be
"noticeable" when creating 100s of thousands and in any practical context
the difference would surely be in the noise of the domain level processing
required in either case.  Even so, it (at least naively) seems like rather
a large difference.  Simply for the sake of edification, would someone
(Gary, Mathew, ...) care to comment?



mail2web.com – What can On Demand Business Solutions do for you?

More information about the Openmcl-devel mailing list