Perl Monk, Perl Meditation | |
PerlMonks |
Re^5: Perl tk gui hangs when large data thrown to itby RichardK (Parson) |
on Oct 15, 2013 at 13:11 UTC ( [id://1058293]=note: print w/replies, xml ) | Need Help?? |
I think you're just expecting too much. You cannot see an event that only lasts 1 millisecond so there's no point updating you display that quickly. If you data really is changing that quickly just cache it until the next screen update. I've changed the repeat to 20ms, removed the prints from changeitem and increased then rand row to 100, and your code works. But even 50 updates per second are too many, I'd try 10 or less, as you don't really need video rates.
In Section
Seekers of Perl Wisdom
|
|