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

Depluginizing #36

Merged
merged 7 commits into from
Nov 3, 2024
Merged

Depluginizing #36

merged 7 commits into from
Nov 3, 2024

Conversation

Z-Kris
Copy link
Contributor

@Z-Kris Z-Kris commented Nov 3, 2024

De-pluginizes the tool by directly depending on the revision-specific decoders. The primary benefit here is that we can have all the plugins loaded into memory at once now, since we migrated the directories in classes to contain v*** to distinguish between different revisions, while still keeping the same old class names.

In tasks such as transcribing, if someone has binaries from many different revisions, the old version of the tool had to unload and reload the plugins every time it needed a different revision, adding time and complexity. Now all the plugins get class-loaded concurrently on boot-up.

An additional benefit is that shadowjarring now produces a jar which contains everything needed to run the tool, so it is possible to simply shadowjar it and send it to someone that has never cloned the project, and the tool will work out of the box. This point is relatively moot once the launcher for RSProx has been finished though.

@Z-Kris Z-Kris merged commit 186f33f into master Nov 3, 2024
3 checks passed
@Z-Kris Z-Kris deleted the depluginizing branch November 3, 2024 21:07
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.

1 participant