On 02/08/2013 14:16, Dmitry Olshansky wrote:

Function     CPU clocks     DC accesses     DC misses
RTLHeap::Alloc     51638     552     3538
Obj::ledata     9936     1346     3290
Obj::fltused     7392     2948     6
cgcs_term     3892     1292     638
TemplateInstance::semantic     3724     2346     20
Obj::byte     3280     548     676
vsprintf     3056     3006     4


Random lunchtime observation:

A lot of the calls to vsprintf are from TypeStruct::toDecoBuffer/TypeClass::toDecoBuffer/TypeEnum::toDecoBuffer

which all do

           OutBuffer->printf("%s", name);

Is that needed, or would changing them to

           OutBuffer->writestring(name);

be more efficient?
(it seems like it might, albeit only very slightly).

Reply via email to