Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think the question can be will a user wants to see 1M rows at a time. Probably no.

Spreadsheet uses virtualisation to display data, ie only data viewable in a Row x Column viewport is displayed. This improves rendering performance.

Data performance can be improved by 1. Lazy loading data or Infinite scrolling. We have a built-in async hook that does this. 2. Only save pointers to data that is being displayed. So if you have 1M rows, on the JavaScript side, you only load 100 rows in memory and when user scrolls, you can replace this rows with new data. This will make the browser happy. 3. Streaming data from the server similar to google sheets.

But to answer your question, we have a Max row limit of 1_048_576 and max column limit of 16_384



I'm checking it out on my phone and scrolling through the interface is pretty choppy, but rather fluid in a Google sheet. Maybe you might be able to further tweak the virtual row rendering?

Props for the fact that when I scroll a bit faster things don't disappear, which I've seen before in SPAs with infinite scroll.


Could you share which phone you were using? We use virtual rendering at both row and column level.


I'm on a Fairphone 4 with Firefox, but I guess it would be the same on any midrange phone.


Got it. I will try to do some performance testing on midrange phones and mobile firefox. Thanks


Feels pretty smooth on my iPhone 13.


The beauty of excel is you can load Million rows and do computations on them.


Excel is probably the wrong tool for that job. At the scale of a million rows or more, this is probably better done by a real database and programming language.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: