Skip to content

Perhaps isSquare doesn't get inlined because the node count is > 2000? #7

@LandonTClipp

Description

@LandonTClipp

https://landontclipp.github.io/blog/2023/08/25/profile-guided-optimizations-in-go/#viewing-the-assembly

Just realized maybe it's doing this because the cumulative node count is > 2000, so even though isSquare is eligible for inlining, the compiler decides not to because of the other inlined functions?

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