Skip to content

Optimizations in GenerateTableRow method (TableWriter.cs) #6526

@iSazonov

Description

@iSazonov

In GenerateTableRow
we have several similar repetitive cycles which we could replace one:

for (int row = 0; row < rows.Length; row++) 
...
    for (int col = 0; col < scArray.Length; col++) 

Also we could use Span and other means to reduce allocations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions