Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance question #2

Closed
mainrs opened this issue Oct 28, 2018 · 2 comments
Closed

Performance question #2

mainrs opened this issue Oct 28, 2018 · 2 comments

Comments

@mainrs
Copy link

mainrs commented Oct 28, 2018

I can't test it out right now and am just looking for useful resources/libraries for my current project.

I am curious on how it performs with huge sets of data. Does it allocate and keep every newly generated list entry in memory? Not sure if you are familiar with the android ecosystem, but there is a component called RecyclerView that basically re-uses the UI elements and only changes the data that they display, making it super memory efficient and reduces the lag created by allocating all UI elements and keeping them alive.

Thanks!

@MaikuB
Copy link
Owner

MaikuB commented Oct 28, 2018

I don't have metrics for you but it should be performant and based on what you've stated/asked, it sounds like you've not checked the documentation on the Flutter website. I'd suggest you start from there as a search would provide links like the following that would answer your question

https://flutter.io/cookbook/lists/long-lists/
https://flutter.io/flutter-for-android/#how-do-i-update-listviews-dynamically
https://docs.flutter.io/flutter/widgets/ListView-class.html

Note that this library uses the ListView.builder constructor

@mainrs
Copy link
Author

mainrs commented Nov 1, 2018

Ah I missed that one. I'm quite new to flutter 😄 Thanks you!

@mainrs mainrs closed this as completed Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants