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

Optimize Int8 and UInt8 boxing. #36991

Merged
merged 1 commit into from
Aug 10, 2020
Merged

Optimize Int8 and UInt8 boxing. #36991

merged 1 commit into from
Aug 10, 2020

Conversation

yuyichao
Copy link
Contributor

On top of #36970 this has a 0.01% reduction in system image code size. Mostly due to removal of a few GC frame slot and write barriers.

I've also tested a few different other options including teaching the llvm passes about the boxing functions and allocating the boxes as global array directly and this approach seems to be the best balance between code size and speed.

@Keno Keno merged commit ae5399d into master Aug 10, 2020
@Keno Keno deleted the yyc/codegen/int8 branch August 10, 2020 23:53
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 11, 2020
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.

3 participants