Closed acheronfail closed 3 years ago
At the present moment we go through the entire list of Items and render them all, even though comparatively few are actually rendered.
Item
We can improve performance of rendering by simply creating empty list items for those items that won't be visible on the screen.
While this did improve performance a little, after inspecting the project with https://github.com/flamegraph-rs/flamegraph the biggest performance hit is the Printable trait. So we'll look there first.
Printable
At the present moment we go through the entire list of
Item
s and render them all, even though comparatively few are actually rendered.We can improve performance of rendering by simply creating empty list items for those items that won't be visible on the screen.