Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the performance ceiling of this componnet? #187

Open
ClarenceWhite opened this issue Sep 7, 2023 · 1 comment
Open

What is the performance ceiling of this componnet? #187

ClarenceWhite opened this issue Sep 7, 2023 · 1 comment

Comments

@ClarenceWhite
Copy link

I am wondering what is the performance ceiling, say, how many lines of code maximum (approx) can this component compare one time without causing the browser crash?

@theTulga
Copy link

The diff algorithm runtime is O(N + D^2) undef a basic stochastic model, based on the paper published by Eugene W. Myers.
N here is sum of length of A and B strings combined.
D is size of minimum edit for A and B to be same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants