> 
> 30.000 is huge?
> Compiling with -va a medium sized project should work as well, and
> gives easily ten times.
>

That's simply too much information to store and stringgrid have to
have support for other things like the hability to change any row
height, so it's more of general purpose.

I guess we need to split the string handling from the component.
Another kind of grid is needed, a virtual grid, something like a
dbgrid but not tied to db.

>  
> > I guess it reduces then to know if replacing the listbox with a
> > stringgrid actually improves something (the less we would want is
> to
> > do a back step) by trying with a big case, if it works but still
> have
> > problems, I might help by building a new grid (something like
> dbgrid
> > but not tied to db) to handle it.
> > 
> > I think we would need a/some voluteers with very big projects to
> > actually test this (I have not seen a very huge list in messages
> view
> > btw)
> 
> ColCount=1;
> Adding 10.000 rows via RowCount (is there a better method?) and
> changing every time 10 times the last cell need 6 secs (all between
> BeginUpdate/EndUpdate).
> Adding 100.000 rows via RowCount and
> changing every time 10 times the last cell: I aborted after 6 mins.
> 
> 
> Well, we could use TTreeView. It has working BeginUpdate/EndUpdate.
> 
> It needs 0.4 secs for adding 10.000
> top level nodes and changing each 10 times.
> And it needs 23 secs for adding 100.000
> top level nodes and changing each 10 times.
> 
> 
> Mattias
> 

Did you tried the test by filling a stringlist or the fastest string
list available?, I think that would be best we could achieve using
lists?

I think your test shows stringgrid is not a good candidate if used in
the standard way, if strings are stored in other place, not in the
grid, any grid could be used to draw the content simply by handling
the scrollbars and OnDrawCell, but this require more work of course
:)

Jesus Reyes A.






        
        
                
___________________________________________________________ 
Do You Yahoo!? 
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. 
http://net.yahoo.com.mx 

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to