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

[Draft] Migrate to value classes and specialized generics #76

Open
2 tasks
Glavo opened this issue Jan 5, 2025 · 0 comments
Open
2 tasks

[Draft] Migrate to value classes and specialized generics #76

Glavo opened this issue Jan 5, 2025 · 0 comments
Assignees
Labels

Comments

@Glavo
Copy link
Owner

Glavo commented Jan 5, 2025

After JEP 218 and JEP 401 are delivered, we should migrate to value classes and specialized generics. To achieve this, we need to redesign a lot of APIs. Before that, kala-common will not be officially released.

This Issue is used to record the refactoring that needs to be done in the future.

  • Delete all AnyXxx classes/interfaces, PrimitiveXxx should directly inherit Xxx.
  • Delete all xxxOrNull methods, because xxxOption no longer has the boxing overhead.
@Glavo Glavo added the draft label Jan 5, 2025
@Glavo Glavo self-assigned this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant