Skip to content

Memory usage is O(N^2) #31

@Diggsey

Description

@Diggsey

Allocation of the LCS table can get catastrophically large (I'm seeing 44GB memory usage when trying to compare two 70k line files).

I believe there are more efficient approaches that don't require allocating the entire table in one go (eg. proceeding row by row)

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