FXMisc / Flowless

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

Why happens to performance when Nodes are used for items in the VirtualFlow/createVertical? #69

Open zcaudate opened 5 years ago

zcaudate commented 5 years ago

In the VirtualFlow class, there is no constructor but static methods taking a list of items and a mapping function to convert the items into Cells.

Are there any costs to performance if Node objects are passed in directly?

newtingz commented 3 years ago

I personally think there is performance affected, depending on the type of Node you are adding and the styling and so forth,but it is definitely better handled compared to listview, and others. Also dont try do a lot of calculations and processes there.