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

[Improvment] At first boot unpack the data in isolate to avoid unresponsive UI #72

Open
CaptainDario opened this issue Nov 3, 2023 · 2 comments
Labels
enhancement New feature or request flutter block This is blocked by the flutter framework

Comments

@CaptainDario
Copy link
Owner

Basically what the title says, would be great to unpack the data from the assets in an isolate to avoid dropped frames / frozen UI / un responsive app. For this, the rootbundle needs to be accessible from an isolate because currently copying the whole assets to the isolate to unpack it takes a very long time.

Realted issues

@CaptainDario CaptainDario added enhancement New feature or request flutter block This is blocked by the flutter framework labels Nov 3, 2023
@CaptainDario
Copy link
Owner Author

Correction: copying the data to the isolate is really fast, there are serious performance problems introduced in the archive package after v3.3.2.

brendan-duncan/archive#294

@CaptainDario
Copy link
Owner Author

CaptainDario commented Nov 15, 2023

Data is unpacked in an isolate now. It still would be nice not to copy the data to the isolate and rather open it their directly.

@CaptainDario CaptainDario changed the title [Improvment] At first boot unpack the data in isolate to avoid the frozen UI [Improvment] At first boot unpack the data in isolate to avoid unresponsive UI May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flutter block This is blocked by the flutter framework
Projects
None yet
Development

No branches or pull requests

1 participant