Skip to content

Document when and how to specialize for optimization #8

Open
@m-ou-se

Description

@m-ou-se

A lot of iterator adapters have specialized implementations for when the underlying iterator implements e.g. TrustedRandomAccess.Traits like that are marked with #[rustc_specialization_marker] or #[rustc_unsafe_specialization_marker]. We should document when to use this, and what it means for stability guarantees.

cc @matthewjasper

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions