Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This kind of String indexing leads to quadratic complexity if used in loops #257

@valeriyvan

Description

@valeriyvan

subscript (offset: Int) -> Character {

This kind of String indexing leads to quadratic complexity if used in loops.
And this is exactly what happens in decoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions