Skip to content

Avoid Unnecessary Allocation #4

@DarkVanityOfLight

Description

@DarkVanityOfLight

When parsing JSON, consider using deserialization methods that don't require intermediate allocations. Serde provides from_str methods that can deserialize directly from a string slice, avoiding unnecessary allocations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions