Skip to content

all zeroes array #18

@vladak

Description

@vladak

task: find out efficiently if array of unsigned chars is all 0s
- cast to uint64_t, use XOR, go in multiplies of sizeof (uint64_t)
until the end, check the rest of bytes

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