Skip to content

gh-109870: Dataclasses: batch up exec calls #110851

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

Merged
merged 19 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
7863721
Create FuncBuilder class.
ericvsmith Oct 13, 2023
54d5b11
More work on combining exec calls.
ericvsmith Oct 13, 2023
0d28b3e
Fix __doc__ computation by moving it after __init__ has been set.
ericvsmith Oct 13, 2023
fc26b17
Fix recursive repr.
ericvsmith Oct 14, 2023
6d2af0a
Added blurb.
ericvsmith Oct 14, 2023
d6b3c05
Merge branch 'main' into dataclasses-batch-exec
ericvsmith Oct 14, 2023
6f4f5bf
Merge branch 'main' of github.com:python/cpython into dataclasses-bat…
ericvsmith Oct 14, 2023
402f9e1
Changed __repr__ to use _recursive_repr as a decorator.
ericvsmith Oct 14, 2023
809d392
Use a nested f-string instead of '+' to build the method decorator.
ericvsmith Oct 14, 2023
b788858
Change 'create_fn' back to '__create_fn__', because pprint looks for …
ericvsmith Oct 18, 2023
cf9e424
Merge branch 'main' into dataclasses-batch-exec
ericvsmith Mar 24, 2024
8f6187d
Merge error: Fix missing close paren.
ericvsmith Mar 24, 2024
7925ad8
Merge error: recursive_repr changes.
ericvsmith Mar 24, 2024
211fe70
Merge error: use func_builder.
ericvsmith Mar 24, 2024
80371d2
Merge branch 'main' of github.com:python/cpython into dataclasses-bat…
ericvsmith Mar 24, 2024
9a2ca67
Call the recursive_repr decorator.
ericvsmith Mar 24, 2024
b41be1b
Pre-build the function body strings with required 2 spaces, so they d…
ericvsmith Mar 25, 2024
c3b7edf
Add a note about how much speedup can be expected from batching up ca…
ericvsmith Mar 25, 2024
e8c224f
Fix markup for "exec".
ericvsmith Mar 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading