You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now obj_callp invocations are slower than when using GDScript very likely because GDScript caches the object-method combination. We should be doing the same, similar to what godot-cpp does.
It's not obvious how to cache an obj-callp call: How do you get a unique class identifier? How do you get a unique method identifier? I suppose the method can be just a hash, but the class? Also a hash?
Even with all these pre-requisites lined up, how do you look up the method call, before calling it?
The text was updated successfully, but these errors were encountered:
One idea here is to modify the guest variants to match the expected arguments, but handle the data as untrusted and verify it based on that. After that it makes sense to ship that to the known function with the expected arguments.
Right now obj_callp invocations are slower than when using GDScript very likely because GDScript caches the object-method combination. We should be doing the same, similar to what godot-cpp does.
It's not obvious how to cache an obj-callp call: How do you get a unique class identifier? How do you get a unique method identifier? I suppose the method can be just a hash, but the class? Also a hash?
Even with all these pre-requisites lined up, how do you look up the method call, before calling it?
The text was updated successfully, but these errors were encountered: