[REBOL] Re: [grid]
From: greggirwin:mindspring at: 9-Jul-2004 9:11
Hi Ashley,
AT> Agreed, the 'text-list approach is QAD but works well for smaller sets. I
AT> adapted your grid style and it uses very little memory over that required
AT> to load the table, except that right-justification of a column is not so
AT> easy and I'd like every column to be as wide as the widest value in it
AT> (whether currently displayed or not). ;)
All the more reason to do windowing. There's a reason Google only
displays a few results at a time; people can only make sense of so
much information at once. Nobody will be able to browse through
1,000,000 records, so see if you can whittle down the data to a
manageable amount. Even if you retrieve all the data, just calculate
the display based on a window into it and recalculate as necessary.
Efficiency like this is often a lot more work, so you have to
prioritize it against other needs as well of course.
Good luck!
-- Gregg