non-eval and/or lazy versions of dataclasses/namedtuple methods #195
RonnyPfannschmidt
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
The whole internet is talking about it. :-) I’ve already pointed @ericvsmith at it, if it’s viable I’m sure it will happen. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
as utilities like data-classes/namedtuples use eval to compose their helpers,
larger libraries pay a regular repeated cost of parse, compile, eval for their components
in https://github.com/dabeaz/dataklasses @dabeaz demonstrated a rather refreshing variant of the possible speed for a number of cases
in a ipython notebook i made some pretty rough, but seemingly accurate enough comparisons
Beta Was this translation helpful? Give feedback.
All reactions