Open
Description
We have emval_methodCallers
mechanism used for foo()
and foo.call<...>(...)
on emscripten::val
instances here:
emscripten/src/lib/libemval.js
Lines 284 to 352 in 2fe9aeb
Right now it either constructs a JS function from strings on the fly, or uses a slower mechanism with looking up all the types on each invocation.
As far as I can tell, it should be fairly straightforward to add it to the EMBIND_AOT
processing so that specialized function is generated during compile-time and then reused. cc @brendandahl
Metadata
Metadata
Assignees
Labels
No labels