-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Suggest a rework for DictionaryData in java port. #1211
Comments
This design has a long history and meets some non-obvious requirements:
With current implementation, reflection is not triggered if embedder has already invoked If the main problem is class size, then you can compile/link with alternative DictionaryData implementation that loads from resources. Please provide more context on the problem you are facing, and we could think how to improve the codebase. |
I'm using graalvm native image, so of course as small class as possible and as few reflections as possible means something to me.... But the real reason if I remember it correctly why I give up with brotli last month is I cannot uncompress some brotli file (generated by brotli cli) using the java client... now I'm using zip as alternative. |
Got it. I'll prepare helper for reflection-less load-from-resources soon; the biggest question is - what build system (or binary repo) you use? |
just, don't make a 123KB class if not have to. that is not a good way.
a better practice would be:
would be glad to impl it if you would arrange time for the code review.
The text was updated successfully, but these errors were encountered: