diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-12-05 00:19:15 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-12-06 01:36:20 +0100 |
commit | a946f84e3d115ed313dbe511ba33390fc204fd11 (patch) | |
tree | d54c84a63610ece78682af754a8677868cbd7ad2 /scene/resources/text_file.h | |
parent | 04bef80b42408f45d7838f9ef29f0e0553957475 (diff) |
Don't box params on Native->C# calls with Variant params
Godot uses Variant parameters for calls to script methods.
Up until now we were boxing such parameters when marshalling
them for invokation, even if they were value types.
Now Godot allocates the marshalled parameters on the stack,
reducing the GC allocations resulted from boxing.
Diffstat (limited to 'scene/resources/text_file.h')
0 files changed, 0 insertions, 0 deletions