On 26 Jun 2014, at 15:39, Hernán Morales Durand <[email protected]> wrote:
> > 2014-06-26 10:09 GMT-03:00 Esteban Lorenzano <[email protected]>: > you are basically creating 1000 * 100000 morphs (and complex ones). > > Actually, I want to create about 20 million of rows. > > I would just do a matrix morph with just one morph and rendering the matrix > in the canvas (overriding the #drawOn:) > > > Yes, that seems to be the path. > > BTW, I do not think VW would work like that either: IMO, that design > (pre-generating the cells) is bad and it never works. > Other frameworks use a datasource design (like cocoa, swt… and basically all > the serious frameworks I know about). > and no, we do not have a default design for this kind of big components (a > serious absence, IMO). > > > Do you have an example of those frameworks displaying millions of rows? How > they manage scrolling? > Thanks for the tips. https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTableView_Class/Reference/Reference.html (and around) now… how it is implemented, I always take cocotron project (http://www.cocotron.org) as an inspiration (even if in ObjC, you can take a lot of ideas from there) Esteban > > Hernán >
