Skip to content

support Rows.IterateColumns #2191

@ankisme

Description

@ankisme

Description

Rows.Columns return []string, the performance is not good, because user usuall want to iterate []string

the difference is: user want iterate each string, not want []string

so the []string can be removed, because it cost performance, espacially big []string

maybe could support Rows.IterateColumns(), user use it like below

iterateFunc := func(index int, cell string) {

}

rows.IterateColumns(iterateFunc)

Additional context

No response

Validations

  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions