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

refactor: split up ape.types modules #2337

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Oct 23, 2024

What I did

splits up ape.types so you can import what-you-need faster at times.
needed for https://github.com/ApeWorX/ape/pull/2333/files#diff-cc0db0562414127f60137f02bf5994e135314bef3002ca7422972200134418c0

importing from specific modules and having those be small increases performance of modules that only need those.
i still expect users to import from the root init files tho

performance gains hard to realize w/o the rest of it, just making the bigger PR smaller, as this was a needed part for kicking the bottleneck down the road

How I did it

How to verify it

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@antazoey antazoey merged commit a257cac into ApeWorX:main Oct 23, 2024
16 checks passed
@antazoey antazoey deleted the refactor/split-up-types branch October 23, 2024 20:10
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.

2 participants