Through performance benchmarks, we've found that T::Struct is up to 5x slower than it's PORO counterpart. Along with being a catalyst for potential code smells, we've decided to create this cop to forbid the future usage of T::Struct in new code paths.
Through performance benchmarks, we've found that
T::Struct
is up to 5x slower than it's PORO counterpart. Along with being a catalyst for potential code smells, we've decided to create this cop to forbid the future usage ofT::Struct
in new code paths.