Skip to content

bounds checking of "abc"[1:3] is very redundant #24841

Open
@StefanKarpinski

Description

@StefanKarpinski

Partly due to #24840, taking a slice of a string ends up checking bounds at least three different times. This should be reduced to a single time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions