summaryrefslogtreecommitdiff
path: root/scene/resources/text_line.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-12-05 00:19:15 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-12-06 01:36:20 +0100
commita946f84e3d115ed313dbe511ba33390fc204fd11 (patch)
treed54c84a63610ece78682af754a8677868cbd7ad2 /scene/resources/text_line.cpp
parent04bef80b42408f45d7838f9ef29f0e0553957475 (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_line.cpp')
0 files changed, 0 insertions, 0 deletions