Skip to content

Faster attach #45

Description

@plicease

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions