![]() |
|
more useful options | |
PerlMonks |
Re: perl tk mainwindow capability (virtual tree widget, huge amounts of data, pageination)by Anonymous Monk |
on Aug 08, 2013 at 09:00 UTC ( #1048514=note: print w/replies, xml ) | Need Help?? |
How many tk objects are you keeping in memory? Are you using some kind of a virtual tree control, one that doesn't keep all objects in memory? On my machine, Scrolled doesn't like more than ~1300 buttons, I don't care why
But FWIW, Firefox doesn't like a lot of buttons either, and frankly, that many actual button objects is too many -- same as displaying 1000 search results, for human not to go insane, you have to pageinate Devel::NYTprof to find bottle necks, code review to find thinko-s, and prototyping to figure out limits, try out cheap fixes... code review suspect widgets ... repeat Why so slow when using Perl/Tk?, Tk::Table too slow. Alternatives ?, Why is wxPerl slower than Win32GUI?, Comparing Tcl::Tk and perlTk WRT speed, Virtual grid widget, Tcl Performance / Tk Performance Wx::Perl::ListView/Wx::Perl::ListView::SimpleModel
In Section
Seekers of Perl Wisdom
|
|