Skip to content

Slow to execute over diffs with a large number of changes #27

@termi

Description

@termi

In some cases JsDiff.diffWords ate more than 500Mb RAM and I had to kill the process where it was launched

jsdiff-bug

I found this in node.js environment but it also produced in browser.

Data for reproducing this bug is here: https://gist.github.com/termi/9875658

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