Skip to content

limit the scope of variables / functions #1

@ITotalJustice

Description

@ITotalJustice

hi! i noticed in a few places in your code, your functions and variables are not made static, so the scope is extern.
this does have an effect of the codegen and subsequently binary size and performance.

examples are all of the cpu instructions and all global variables.

here's an example of what i mean https://godbolt.org/z/bvPYdooYv

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