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

Optimize text comparison for text MIME data #400

Merged
merged 4 commits into from
Jun 25, 2018

Commits on Jun 20, 2018

  1. Tweak profiling code

    vidartf committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    a28dfea View commit details
    Browse the repository at this point in the history
  2. Use a max length for comparing text outputs

    Difflib's ratio() method blows up for very large contents. We limit this
    problem for output comparison by giving a maximum length for text data
    when doing mimedata comparison.
    vidartf committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    5c1d6a1 View commit details
    Browse the repository at this point in the history
  3. Fix docstring

    vidartf committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    ce376ed View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2018

  1. Regression test for diffing text mimedata

    Uses random data to ensure large edit strings.
    vidartf committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    229bd68 View commit details
    Browse the repository at this point in the history