Transcript>>show: slowness.

Igor Stasenko siguctua at gmail.com
Sun Sep 9 13:11:32 UTC 2007


I know that Transcript is slow :)
But i found more disturbing problem.
I put 'Transcript show:' in Canvas code, for tracing different drawing
commands, and found that Transcript morph updates itself directly
after receiving this command.

So, each time you sending #show: it redraws morph window. I think this
is why Transcript is slow at first place. And also it makes Transcript
useless for tracing different drawing commands ( because some of them
can cause infinite recursion).

I want to ask, if someone knows, why transcript (or maybe underlaying
morphs) designed in such manner, that it forcibly updates itself on
screen at each #show: message sent. And also, maybe someone knows how
make fast and effective fix to this? I don't think that updating
transcript window contents immediately after something putted into it
is critical.
A more effective would be to simply mark transcript window as dirty,
and then during next world update cycle is will automatically get
updated.

-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list