Improving dataclasses startup performance

If it imports re then it also imports enum, which is still written in Python and known to have a slow startup time.

1 Like