In [GenerateTableRow](https://github.com/SteveL-MSFT/PowerShell/blob/d1985711d739951fa129e4ad5aa67cb912715073/src/System.Management.Automation/FormatAndOutput/common/TableWriter.cs#L230) we have several similar repetitive cycles which we could replace one: ```c# for (int row = 0; row < rows.Length; row++) ... for (int col = 0; col < scArray.Length; col++) ``` Also we could use Span<T> and other means to reduce allocations.