FXMisc / Flowless

Efficient VirtualFlow for JavaFX
BSD 2-Clause "Simplified" License
185 stars 38 forks source link

Question - virtual flow, large data list and window resizing #125

Open PavelTurk opened 5 days ago

PavelTurk commented 5 days ago

Let's suppose we have 100.000.000 apples. To show one apple in a row we need 50px. So, number of rows will be 100.000.000 / (window.getWidth() / 50). If a window width is 2000px then we have 40 apples in a row and we need 2.500.000 rows in observable list. However, user can change window width again and again.

Could anyone say how to work with virtual flow in such situation in terms of performance?

PavelTurk commented 1 day ago

Any ideas?