Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement four out of five suggested optimizations #37

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

samueldr
Copy link

@samueldr samueldr commented Jul 2, 2024

Fix #27

The remaining suggestion requires understanding where a label point to so that it can be replaced by its literal equivalent. See #36.


Hopefully I didn't get anything wrong here.

I have verified the optimizations within oneko-uxn, and verified it works still.

The change isn't anything to write home about, but still interesting. 61073 bytes → 60980 bytes

I suspect #36 might boil down to interesting numbers though.


(I had observed something "going wrong", but it was unrelated, and the optimizations of my wrong use of the semantics around the calling convention in asm() was at fault, and failing otherwisely without these additional optimizations. It would be wise to validate carefully.)

Fix lynn#27

The remaining suggestion requires understanding where a label point to
so that it can be replaced by its literal equivalent. See lynn#36.
@samueldr samueldr marked this pull request as draft July 3, 2024 07:49
@samueldr samueldr marked this pull request as ready for review July 5, 2024 19:20
@lynn lynn merged commit 09f53d0 into lynn:uxn Jul 17, 2024
@samueldr samueldr deleted the feature/four-optimizations branch July 18, 2024 00:12
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.

More ideas for optimizations
2 participants