gh-103000: Optimise dataclasses.asdict
for the common case
#104364
Merged
8000
dataclasses.asdict
for the common case
#104364