flag_operations_are_free
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| flag_operations_are_free [2026/01/15 05:31] – appledog | flag_operations_are_free [2026/01/15 05:32] (current) – appledog | ||
|---|---|---|---|
| Line 197: | Line 197: | ||
| let addr = (instruction >> 8) & 0x00FFFFFF; | let addr = (instruction >> 8) & 0x00FFFFFF; | ||
| - | | + | |
| - | You're adding a bit shift, a bitwise AND, plus you're creating an intermediary variable access. In the end this is almost 10% slower than just calling fetch_byte(). | + | You're adding a bit shift, a bitwise AND, plus you're creating an intermediary variable access. In the end this is almost 10% slower than just calling fetch_byte(). |
| | | ||
| == Conclusion | == Conclusion | ||
flag_operations_are_free.1768455095.txt.gz · Last modified: by appledog
