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

Add INDY ops for math operations #1711

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gbrail
Copy link
Collaborator

@gbrail gbrail commented Oct 25, 2024

Right now, this makes the bytecode a tiny bit more readable IMO, and doesn't really affect performance.

Once we have these in, however, we can add additional type-specific linkers which will shorten the codepaths to these common operations for common types, and avoid the long strings of "instanceof" checks that make up most of the generic math operations today.

This will let us optimize them later, since most math operations are
long chains of "instanceof" checks.
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.

1 participant