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 checklines parameter? #95

Open
dmjones opened this issue Oct 10, 2018 · 1 comment
Open

What is the checklines parameter? #95

dmjones opened this issue Oct 10, 2018 · 1 comment

Comments

@dmjones
Copy link

dmjones commented Oct 10, 2018

The docs for DiffMain and DiffMainRunes don't explain what the checklines parameter is used for.

Digging through the source, it looks like this has an impact on how the diff is calculated, if the input is large enough. But I'm unclear the pros and cons for choosing this.

Happy to make a PR to update the documentation if someone can advise on the use?

@sergi
Copy link
Owner

sergi commented Aug 1, 2019

From Java docs:

@param checklines Speedup flag. If false, then don't run a line-level diff first to identify the changed areas. If true, then run a faster slightly less optimal diff.

It would be great if you update the documentation with its definition!

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