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

Load more tiles at the same time (async or something) #127

Open
shinovon opened this issue Sep 3, 2023 · 5 comments
Open

Load more tiles at the same time (async or something) #127

shinovon opened this issue Sep 3, 2023 · 5 comments

Comments

@shinovon
Copy link
Collaborator

shinovon commented Sep 3, 2023

No description provided.

@Feodor0090
Copy link
Contributor

we probably can replace "network thread" with fire-and-forget threads per tile launched by cache reader. But I tend to think that it's not good for 1-core CPU.

@shinovon
Copy link
Collaborator Author

shinovon commented Sep 5, 2023

I suggest making a vector of threads each with own stack of tasks

@Feodor0090
Copy link
Contributor

I suggest making a vector of threads each with own stack of tasks

...basically, a diy TPL. You have a working code for that, but i want to implement pre-caching before.

@shinovon
Copy link
Collaborator Author

shinovon commented Sep 5, 2023

In jt multi-threaded queue makes image load much faster on Symbians starting from 9.3, however in s40 java http streams are locked

@shinovon
Copy link
Collaborator Author

shinovon commented Sep 5, 2023

Symbians starting from 9.3

Btw most of http downloading time is taken by connection initialization there, it usually takes ~200 ms to get response code

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