Skip to content

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

@Shatur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions