Skip to content

is_whitespace could be inlined as single cmp ? #190

@patricksurry

Description

@patricksurry

Reading the code for is_whitespace it looks like the opening cmp #00 / bcc will never branch (is it meant to be excluding zero?).

At that point the whole subroutine could inlined by cmp #AscSP+1 at the calling point if we interpreted carry in the opposite sense. Maybe I'm missing something though?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions