Skip to content

support Rows.IterateColumns #2191

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions