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

Default to external diff? #229

Open
behdad opened this issue Aug 20, 2022 · 1 comment
Open

Default to external diff? #229

behdad opened this issue Aug 20, 2022 · 1 comment

Comments

@behdad
Copy link

behdad commented Aug 20, 2022

fdiff is great!

Internal python diff is way too slow on large strings. Maybe default to external unix diff command if available? That one is instantanous.

@behdad
Copy link
Author

behdad commented Aug 20, 2022

Eg. for comparing two fonts which are similar except for a couple lines, with ttx that is 53MB, fdiff by default takes ... well, I interrupted it after 4 minutes.

With external diff it takes 5s, most of which is the conversion to ttx. Diffing the ttx'es using unix diff takes only .3s.

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

No branches or pull requests

1 participant