gh-144384: Improve _colorize performance by replacing dataclass with regular class
#144879
+391
−143
Loading