Skip to content

xor swap should be discouraged #10

@zinking

Description

@zinking
a ^= b;
b ^= a;
a ^= b;

this technique should be discouraged, at least notes should be added. as it is by no means better than the temp approach. looking from the execution instruction perspective.

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