Skip to content

Conversation

@thePHTest
Copy link
Contributor

No description provided.

Comment on lines +480 to +483
sign_int,
sign_i16, sign_i16le, sign_i16be,
sign_i32, sign_i32le, sign_i32be,
sign_i64, sign_i64le, sign_i64be,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move these to "end" of this list since the float ones are more likely to be hit. This is a "micro-optimization" but it'll help in the long run.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. If you wanted to micro-optimize further, would it make even more sense to put all the non-endian specific types first? i.e. f16, f32, f64, int, i16, i32, i64, f16le, etc.

@gingerBill gingerBill merged commit 5e3648b into odin-lang:master Nov 23, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants