Thanks for the tips, unfortunately nothing new...
For your information and maybe some future improvements - although I can imagine it's not exactly everyday usage
:
Service-Team wrote:
> ...currently Program.setSkinText()
> (currently the only function using the id markers)
> is not very fast and has to go through all items
> in all layouts on each call.
Am I correct in presuming that it only goes through the items it has once displayed, and not just the items parsed on the load off the skin? That would explain why I see the drop only after I use the layouts.
The weird thing is this: lets say we have layout A, B and C in the skin, all with lots of id-ed text items.
When I do...
program.layout = 'A';
...all is well...
program.layout = 'B';
...uses little bit more CPU, not notably slower...
program.layout = 'C';
...uses still little bit more CPU, not notably slower.
But now when I do again...
program.layout = 'A';
...CPU goes through the roof.
I expected the drop after 'C' was displayed, but it seems textitems on a layout not visible anymore demand more processing than those visible?
Regards,
SilverEagle.Statistics: Posted by SilverEagle — 6. Nov 08, 10:57
]]>