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

benchmark and optimize string initialization #38

Open
soc opened this issue Oct 4, 2022 · 0 comments
Open

benchmark and optimize string initialization #38

soc opened this issue Oct 4, 2022 · 0 comments
Labels
codegen related to generation of (platform-specific) code runtime running code written in Core
Milestone

Comments

@soc
Copy link
Collaborator

soc commented Oct 4, 2022

During string initialization we first copy the bytes and then traverse the bytes again to compute the hashcode.

Investigate if it's worthwhile to roll hash computation into the copy loop. (This will involve building the necessary instructions ourselves on x86 and arm64.)

@soc soc added this to the later milestone Oct 4, 2022
@soc soc added runtime running code written in Core codegen related to generation of (platform-specific) code labels Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen related to generation of (platform-specific) code runtime running code written in Core
Projects
None yet
Development

No branches or pull requests

1 participant