mutualmobile / MMSpreadsheetView

MIT License
193 stars 34 forks source link

Memory issue when number of column is 1. Memory reaching 5 GB within a 30 sec. #25

Closed sanojKashyap closed 7 years ago

sanojKashyap commented 7 years ago

Just try to run the with minimum col with 1 and see memory raising like anything. Please, check it.

jeffla commented 7 years ago

See the readme.

Performance: As the number of cells shown increases, scrolling performance declines. A large grid (1000x1000) takes a long time to initialize, but if the cell sizes are large enough (150x150) or greater, scrolling performance is not affected. However, a small grid (50x50) of (20x20) cells basically doesn't scroll.

sanojKashyap commented 7 years ago

I used one col, it was crashing due assert statement. view wont load with 25 rows and 1 column?

jeffla commented 7 years ago

If you just need 1 column, use a CollectionView. This is for a grid of collectionViews.