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

Allow getting data by subclasses #68

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

norinorin
Copy link
Contributor

Proposed Changes

Allow getting data by subclasses. The time complexity is supposedly O(n) on the first lookup and O(1) afterwards as the first result got cached.

Copy link

@rf20008 rf20008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (but I don't see the point. This might also be a breaking change)

@norinorin
Copy link
Contributor Author

LGTM (but I don't see the point. This might also be a breaking change)

You're not wrong, I kinda had a use case but I don't think it's practical (that's why this is still a draft). Though don't worry about the breaking change, we're indeed doing breaking changes. We've bumped the major version and it's still alpha anyway.

@Esmeray6
Copy link
Contributor

Esmeray6 commented Jun 6, 2024

@norinorin Do you plan on advancing further with this PR by any chance?

@norinorin norinorin marked this pull request as ready for review August 30, 2024 15:02
@norinorin
Copy link
Contributor Author

Sorry I missed your comment. It's been a few years, and I don't remember the specifics of this PR (had to be related to one of my local projects). I must've left it in a usable state but forgot to remove the draft status.

Feel free to merge it or close it as you see fit, if there is even an active maintainer that is.

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.

3 participants