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

Apply propagate_inbounds to remaining SEM apply_operators #1338

Closed
wants to merge 1 commit into from

Conversation

charleskawczynski
Copy link
Member

This was peeled off from #1335, this PR applies Base.propagate_inbounds to ensure that we elide bound checks. These are kind of big functions, so maybe it's not worth the code gen? Let's at least see how the performance benchmarks look.

@charleskawczynski
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request Jun 19, 2023
@bors
Copy link
Contributor

bors bot commented Jun 19, 2023

try

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@simonbyrne
Copy link
Member

simonbyrne commented Jun 22, 2023

I'm not sure we need it, since we have the @inbounds inside

@charleskawczynski
Copy link
Member Author

Okay, closing until we have a way to measure that these macros actually do anything.

@charleskawczynski charleskawczynski deleted the ck/inline_apply_op branch September 21, 2023 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants