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

rustc_parse: Remove optimization for 0-length streams in collect_tokens #78736

Merged
merged 1 commit into from
Nov 14, 2020

Commits on Nov 12, 2020

  1. rustc_parse: Remove optimization for 0-length streams in `collect_tok…

    …ens`
    
    The optimization conflates empty token streams with unknown token stream, which is at least suspicious, and doesn't affect performance because 0-length token streams are very rare.
    petrochenkov committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    2879ab7 View commit details
    Browse the repository at this point in the history