Hey, question regarding performance. Im creating a...
# tornadofx
u
Hey, question regarding performance. Im creating a view around 100 times and the view is loaded through fxml so its quite slow. I read somewhere that reusing the FXMLLoader can improve performance and was wondering if tornadofx already had some sort of support for that
c
I would think writing your layout with the DSL builder would be faster than using FXML since it avoids all the XML parsing.
It's not really the question you asked, but is there anything you could do to avoid creating a view 100 times? If it's list data, perhaps using ListCellFragment would help you cut down the instance count. https://edvin.gitbooks.io/tornadofx-guide/content/part2/Advanced%20Data%20Controls.html