Skip to content

out kwarg to bincount #7998

@anntzer

Description

@anntzer

bincount could gain an out kwarg (which would not get zeroed before adding the weights).

Rationale: This would sidestep the issue of poor ufunc.at performance (#5922) at least for the add ufunc.

I'd expect this kwarg to be incompatible with minlength; the minlength would simply be obtained from the length of the out array.

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