Hacker News new | ask | show | jobs
by johnfn 600 days ago
How many terminal apps do you know of that have 50,000 items with a scroll wheel? This is what I meant by 0.001%.
2 comments

Any viewer of data that has 50,000 elements in it has this many items with a scroll wheel. It doesn't matter if it's on the screen at the same time, this is the kind of thing that the UI is supposed to be abstracting away from you; you just describe the UI and the renderer makes it appear on the screen. Example apps (not built with Ink, just some that fit into this category): less, https://fx.wtf, sqlite...

And this is why React apps end up with bad performance by default. Doesn't crop up in simple tests and light usage, but the bad scaling will catch up with you when you deploy to production.

Since when is the basic pager an exotic terminal app?
A pager doesn’t show 50,000 items at the same time - at least not the ones I use…
I don't see anything in grandparent implying in view at the same time, and that sounds pretty unlikely.