Skip to content

Conversation

@Quezler
Copy link
Contributor

@Quezler Quezler commented Jun 18, 2022

Requests the projects in bulk instead of one-by-one as described in. #11

The file information is still called once for each project, but the runtime has been cut down from 5-10 minutes to 8 seconds.

I have also included a progressbar in the output, not being able to see the progress is what inspired me to make EnigmaticaModpacks/Enigmatica6#5013 several days ago (never had run your modlist creator myself for that modpack and i had no idea how long it could take without any sort of indicator as to its progress), hence hoping it makes it into the original:

Screen Shot 2022-06-18 at 16 46 12

ps, as is evident by this pull request my java skills are not that advanced, so there is probably room for some cleanup. ^-^

@noeppi-noeppi noeppi-noeppi linked an issue Jun 18, 2022 that may be closed by this pull request
@MelanX
Copy link
Member

MelanX commented Jun 18, 2022

That is a lot faster, damn. Thank you for this pull request, I like the progress bar!

@MelanX MelanX merged commit 5108c7b into ModdingX:main Jun 18, 2022
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.

O(1) instead of O(N) api calls to resolve the authors?

2 participants