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

[Java] propagate generics from outer unmodifiable/synchronized #189

Open
chaokunyang opened this issue May 10, 2023 · 0 comments
Open

[Java] propagate generics from outer unmodifiable/synchronized #189

chaokunyang opened this issue May 10, 2023 · 0 comments
Labels
enhancement New feature or request java

Comments

@chaokunyang
Copy link
Collaborator

chaokunyang commented May 10, 2023

Is your feature request related to a problem? Please describe.
In #188 and #191, we optimize serialization perf by a special serializer, but that serializer doesn't propagate generics to inner collection element. The serialization will be inefficent in space and perf.

Describe the solution you'd like
Update depth directly so inner collection/map can just use outer collection/map generics.

Describe alternatives you've considered
Get generics first then push it into Generics

Additional context
#188 #190

@chaokunyang chaokunyang added the enhancement New feature or request label May 10, 2023
@chaokunyang chaokunyang changed the title [Java] Propagate [Java] propagate generics from outer unmodifiable/synchronized May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java
Projects
None yet
Development

No branches or pull requests

1 participant