Skip to content

[Feature]: return Cow instead of String from chunkid #47

Description

@Shatur

Prerequisites

  • I have searched existing issues to ensure this isn't a duplicate

Problem Statement

chunkid returns String, but sometimes allocation is unnecessary since it's possible to just return a substring. Noticed while integrating logging from Bevy.

Proposed Solution

I'd suggest to return Cow instead.

Alternatives Considered

No response

Additional Context

No response

Implementation

  • I'm willing to implement this feature myself
  • I can help with testing and feedback

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