Home > Archive > PerlTk > January 2005 > Tk::TableMatrix speed - inserting rows
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Tk::TableMatrix speed - inserting rows
|
|
| Bill Hess 2005-01-12, 3:59 pm |
| I am finding inserting 1000's of rows in a Tk::TableMatrix to be slow.
Unpacking the widget and re-packing it seems to improve performance a
good deal since the redrawing is avoided, but it still takes a bit of
time to just insert the rows. I have tried all of the different
settings and have not found a good combination to speed things up. For
example, it is taking about 25 secs to insert 3000 rows on a fast
machine. Any ideas???
--
Bill Hess
| |
| Jack D 2005-01-12, 8:57 pm |
| "Bill Hess" <bhess@techrg.com> wrote in message
news:12ce0$41e5607e$d88ce6f3$24047@msgid
.meganewsservers.com...
> I am finding inserting 1000's of rows in a Tk::TableMatrix to be slow.
> Unpacking the widget and re-packing it seems to improve performance a
> good deal since the redrawing is avoided, but it still takes a bit of
> time to just insert the rows. I have tried all of the different
> settings and have not found a good combination to speed things up. For
> example, it is taking about 25 secs to insert 3000 rows on a fast
> machine. Any ideas???
Are you worried about the number of rows or just the data within them?
Please post a "slow" example for us to work with.
Jack
| |
| John Cerney 2005-01-13, 4:00 pm |
| Have you looked at the 'maxsize' demo in the source distribution?
This populates a 40,000 row x 8 column table. It takes about 7 seconds
on my rather slow Sun Ultra-60.
Bill Hess wrote:
> I am finding inserting 1000's of rows in a Tk::TableMatrix to be slow.
> Unpacking the widget and re-packing it seems to improve performance a
> good deal since the redrawing is avoided, but it still takes a bit of
> time to just insert the rows. I have tried all of the different
> settings and have not found a good combination to speed things up. For
> example, it is taking about 25 secs to insert 3000 rows on a fast
> machine. Any ideas???
>
|
|
|
|
|