Skip to content

String views #116

Description

@KCreate
  • Implement a new StringView type to efficiently create substrings of another string
  • StringView stores a reference to the original string, a starting offset and a length
  • Come up with some heuristics on how to decide when to create a string view and when to just create a copy.
  • GC could create copies if it is determined that the original string is no longer needed and only accessed through views.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions