Evertras / bubble-table

A customizable, interactive table component for the Bubble Tea framework
MIT License
455 stars 27 forks source link

Improve filtered rendering performance #145

Closed Evertras closed 1 year ago

Evertras commented 1 year ago

GetVisibleRows is being called all over the place. This function is doing a LOT of calculation for any large data set. So instead we cache it, and internally invalidate the cache whenever it would change. This is purely an internal change and seems to massively improve performance when tested.

Helps #135