Skip to content

Big allocation for a small diff #20

@aminya

Description

@aminya

It seems diff-rs allocates a big vector for diffing a small object resulting in out-of-memory

This was discussed in this issue as well
rust-pretty-assertions/rust-pretty-assertions#124

https://github.com/utkarshkukreti/diff.rs/blob/0.1.13/src/lib.rs?rgh-link-date=2024-01-31T21%3A37%3A48Z#L150

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