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

rpython: complete the eval_ast merge, add DEBUG-EVAL #696

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

asarhaddon
Copy link
Contributor

No description provided.

@asarhaddon asarhaddon force-pushed the rpython branch 4 times, most recently from 13abb6d to c650079 Compare October 15, 2024 21:24
@kanaka kanaka merged commit b463373 into kanaka:master Oct 15, 2024
4 checks passed
@kanaka
Copy link
Owner

kanaka commented Oct 15, 2024

@asarhaddon One thing I noticed with this change is that it's 30-40% slower on the perf3 benchmark than it was before (it's notable because rpython was the clear leader before on perf3 and now it's second behind Java). It appears to be specifically the DEBUG-EVAL check. Just something interesting to note.

@asarhaddon
Copy link
Contributor Author

The cause is probably that the DEBUG-EVAL string is wrapped into a MAL symbol on each evaluation, then unwrapped repeatedly in each outer environment. The same issue affects a lot of implementations.
I have fixed this in rpython because this should not hurt, and will confirm or infirm the diagnostic.

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