Skip to content

Not sure on the difference between std::chunk_by and itertools::chunk_by #1006

Open
@arifd

Description

@arifd

Hello!

std has chunk_by and so does itertools

It seems to me, that the only difference is that std does not return the value of the functor, But I'm not sure, and don't want to introduce a subtle error by switching over if i don't need the key.

Could we include a small comment in the documentation to help users choose between itertools' and std's implementation?

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