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

Change output normalization logic to be linear against size of output #128200

Merged
merged 3 commits into from
Aug 6, 2024

Commits on Jul 29, 2024

  1. Change output normalization logic to be linear against size of output

    Scan strings to be normalized for printing in a linear scan and collect
    the resulting `String` only once.
    
    Use a binary search when looking for chars to be replaced, instead of a
    `HashMap::get`.
    estebank committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    6d9ee6e View commit details
    Browse the repository at this point in the history
  2. Use fold instead of flat_map

    estebank committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    3945480 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Enforce sort order

    estebank committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    51b5bb1 View commit details
    Browse the repository at this point in the history