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

Way to split up large diff #534

Closed
csm10495 opened this issue Jun 4, 2024 · 1 comment
Closed

Way to split up large diff #534

csm10495 opened this issue Jun 4, 2024 · 1 comment

Comments

@csm10495
Copy link

csm10495 commented Jun 4, 2024

Hey folks,

If I have 2 large xml files that may differ a lot, is there a way to make the diff more workable via the generated html?

Is there a way to have it split the html into multiple files or dynamically load/unload the content? If I try to just render the diff, it could easily OOM my browser since the diff in plaintext can be pretty large.

@rtfpessoa
Copy link
Owner

👋 Currently there is no easy way to do it.
I did this PoC #410 a long time ago but never finished it.

One thing you can do is to invoke the parse and then only render certain files separately.
If even parsing the whole things is too much, you would need to split the input.

If you are interested in contributing some improvements let me know and I can give some guidance.

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