mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add ValidatedCall to MethodBind
* This should optimize GDScript function calling _enormously_. * It also should simplify the GDScript VM considerably. NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
This commit is contained in:
parent
14c582bca8
commit
1c93606e47
31 changed files with 299 additions and 84 deletions
|
@ -935,8 +935,8 @@ TypedArray<Dictionary> Object::_get_method_list_bind() const {
|
|||
return ret;
|
||||
}
|
||||
|
||||
Vector<StringName> Object::_get_meta_list_bind() const {
|
||||
Vector<StringName> _metaret;
|
||||
TypedArray<StringName> Object::_get_meta_list_bind() const {
|
||||
TypedArray<StringName> _metaret;
|
||||
|
||||
for (const KeyValue<StringName, Variant> &K : metadata) {
|
||||
_metaret.push_back(K.key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue