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

Faster msg_send! #100

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Draft

Faster msg_send! #100

wants to merge 12 commits into from

Conversation

madsmtm
Copy link

@madsmtm madsmtm commented Jun 3, 2021

Builds upon #99, so merge that first.

I've heard claims that the objc_msgSend-part of msg_send is not zero-cost (see fruity index), so this is my attempt at investigating this

madsmtm added 12 commits May 27, 2021 15:43
- Enable caching
- Move things out of script files, and into the .travis.yml file
- Use "jobs" key, so that we can name each job
This requires the Encode bound on message_send return types, which is a breaking change for crates not using the `verify_message` feature.

However, this is arguably more correct, since it would allow the following:
#[repr(transparent)]
struct Wrapper {
    inner: f32,
}
unsafe impl Encode for Wrapper {
    const ENCODING: Encoding = f32::ENCODING;
}
@madsmtm madsmtm changed the title Faster msg send Faster msg_send! Jun 16, 2021
@madsmtm madsmtm mentioned this pull request Sep 5, 2021
80 tasks
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