Skip to content

Remove o == this check from generated equals? #1633

@perceptron8

Description

@perceptron8

It appears that most cases o == this check actually degrades performance because of branch prediction algorithms. It might be worth considering to remove it from auto-value templates. Sorry for linking to YT, but there's no article anywhere - at least I couldn't find any.

Please see https://www.youtube.com/watch?v=kuzjX_efuDs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions