Skip to content

code a fast 'find character' for the RISC-V kernel #793

@lemire

Description

@lemire

We have basic implementations in #792 for x64 and arm.

Basicallly, we want a fast version of C++'s std:find:

const char *find(const char *start, const char *end,
                            char character);
const char16_t *find(const char16_t *start, const char16_t *end,
                                char16_t character);

It is pretty straightforward. Find the first occurence of the character, or return a pointer to the end.

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