Skip to content

Explore using arrayvec/arraystring crate for stack allocated strings #1594

Open
@numinnex

Description

@numinnex

Since our strings (for identifier etc..) are fixed size, we could easily move the allocation from heap to the stack. Rust doesn't have std lib support for such things, but fortunately a crate that solves that problem https://crates.io/crates/arrayvec

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededimprovementA change that improves our (or users) QoLperformanceChange impacts performancerustPull requests that update Rust codesdkChange related to sdk (client) APIserveriggy-servere related change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions