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

Refactor Formula::getGlobalPosition #1

Open
vedadux opened this issue Jul 5, 2018 · 0 comments
Open

Refactor Formula::getGlobalPosition #1

vedadux opened this issue Jul 5, 2018 · 0 comments

Comments

@vedadux
Copy link
Owner

vedadux commented Jul 5, 2018

This function is horrible for the locality of the data and causes the most cache misses, as it is used in the tight variable replacement loops. A much better way of doing this is first renaming the variables so that their local and global position can be decided directly by the name/index. Something similar was done in Ijtihad.

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

No branches or pull requests

1 participant