Skip to content

Fix performance issues #42

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

Merged
merged 3 commits into from
Aug 17, 2017
Merged

Fix performance issues #42

merged 3 commits into from
Aug 17, 2017

Conversation

cueo
Copy link
Contributor

@cueo cueo commented Aug 17, 2017

Fixes #38 by changing the logic for getStartAndEndPosOfDiff completely. Uses a separate library (json-source-map) to parse the entire JSON.

This speeds up the process of finding the starting and ending line and column number of a diff, and thus doesn't hang for big JSONs.

@justspamjustin justspamjustin merged commit e0425a4 into blitlabs:master Aug 17, 2017
@justspamjustin
Copy link
Collaborator

This looks good. Thanks for your contribution!

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

Successfully merging this pull request may close these issues.

3 participants