Skip to content

More parallel download#12

Closed
holybiber wants to merge 15 commits into
mainfrom
more-parallel-download
Closed

More parallel download#12
holybiber wants to merge 15 commits into
mainfrom
more-parallel-download

Conversation

@holybiber

@holybiber holybiber commented May 31, 2026

Copy link
Copy Markdown
Contributor

Hi @GabrielSousa02 , when reviewing PR #11 I thought: Downloading several languages is still sequential. How about enabling parallel language downloads to further speed the process up?
Cursor implemented this plan and I did a quick check on my phone: Instead of 38s with this it only takes 15s to download all languages. That feels pretty decent now - people don't like to wait, especially if they have good phones and good internet connection.
It's set to downloading up to 4 languages in parallel (so that's 8 files fetching concurrently) - we could also fine-tune and try out 5 or so but probably there is not much more to gain.
Can you have a look at it if it makes sense to you and you understand what it does?
I'm not so much into the code that I fully read everything but it looked reasonable and when I tried it on my phone it worked, integration test also runs through so I thought "why not"

Anyway I think in the future we could also provide one repo that has all languages, for those users who just want to have all languages always. But that would require work on the backend and is out of scope here.

@GabrielSousa02

Copy link
Copy Markdown
Collaborator

@holybiber I have cherry-picked your commit into another branch, and added some tiny changes to it.

Once the other PR works, I will close this one, mentioning that it was added/solved on the PR #14

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

Successfully merging this pull request may close these issues.

2 participants