Skip to content

Implement advance_by for FlatStack's iterator #36

@antiguru

Description

@antiguru

The default advance_by loops $n$ times to skip $n$ elements, but since we likely have a slice iterator, we can just forward the call and get its constant-time implementation.

Context: TimelyDataflow/differential-dataflow#494 (comment)

cc @frankmcsherry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions