Skip to content

[P3] Return a flat buffer from Rust run_batch #11

Description

rust/src/lib.rs allocates a PyBytes per tape and Python does b''.join(...). For large soups this churns memory. Return one flat buffer + lengths (or write into a preallocated array) to cut allocations.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions