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

Implement Chain with Option fuses #70896

Merged
merged 4 commits into from
Apr 9, 2020
Merged

Commits on Apr 7, 2020

  1. Implement Chain with Option fuses

    The iterators are now "fused" with `Option` so we don't need separate
    state to track which part is already exhausted, and we may also get
    niche layout for `None`. We don't use the real `Fuse` adapter because
    its specialization for `FusedIterator` unconditionally descends into the
    iterator, and that could be expensive to keep revisiting stuff like
    nested chains. It also hurts compiler performance to add more iterator
    layers to `Chain`.
    cuviper committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    859b8da View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8aac107 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c4cffd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ce8abc6 View commit details
    Browse the repository at this point in the history