Small speedup for dataclass __eq__ and __repr__ (#104904)
Faster __repr__ with str.__add__ moved inside the f-string. For __eq__ comp;are field by field instead of building temporary tuples. Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
R
Raymond Hettinger committed
18cfc1eea569f0ce72ad403840c0e6cc5f81e1c2
Parent: c8c1e73
Committed by GitHub <noreply@github.com>
on 5/30/2023, 4:35:30 PM