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

At primitive implementation for String>>#charAt: #58

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

smarr
Copy link
Member

@smarr smarr commented Apr 4, 2024

This gives a good speedup in the interpreters for Json, the only benchmark using it.

The bytecode JIT startup seems to suffer unfortunately. I assume it's some odd interaction.
BC JIT steady performance also improves quite a bit.

The AST JIT is not bothered, neither for startup nor steady performance.

https://rebench.dev/RPySOM/compare/470bab233c9f2bc9f97362be394b298301f66ecc..d93c8ba6588b2a5d3d81ef40d16a000840f83cca

The PR also adds the diagram describing the inner frame, from the AST interpreter to the BC one. I am pretty sure its correct, but didn't check... I know, future me will hate this...

- this seems correct to me, but I didn’t actually check it…

Signed-off-by: Stefan Marr <[email protected]>
@smarr smarr merged commit 0228d31 into SOM-st:master Apr 4, 2024
4 checks passed
@smarr smarr deleted the char-at-primitive branch April 4, 2024 23:27
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