Skip to content

add mem.Count function #72

@achille-roussel

Description

@achille-roussel

The bits.CountByte function in https://github.com/segmentio/parquet-go is a good candidate to bring to https://github.com/segmentio/asm

Here is a suggestion for the signature:

package mem

func Count(b []byte, v byte) int

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions