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 attach #45

Open
plicease opened this issue May 7, 2020 · 0 comments
Open

Faster attach #45

plicease opened this issue May 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@plicease
Copy link
Member

plicease commented May 7, 2020

I think that calling an attached function could be a lot faster if we did something like what FFI::Platypus does with its attach (using the any_ptr trick).

We should: create an optional XS module that handles performance critical parts of the API where it makes sense, like calling attached functions (the dynamic call and callback are two other candidates). I think it would be counter productive and pointless to reimplement the entire API in XS.

TheXS module should only be released if the benchmarks prove it useful.

@plicease plicease added the enhancement New feature or request label May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant