diff options
author | Daniel Rakos <daniel.rakos@rastergrid.com> | 2019-04-08 00:45:35 +0200 |
---|---|---|
committer | Daniel Rakos <daniel.rakos@rastergrid.com> | 2019-04-10 16:51:51 +0200 |
commit | 01606fa21296a2f0b7b4147c9548e6f2b972a26a (patch) | |
tree | bb15b1e13830e18a50c87333edf76f82ebf517e8 /src/core/NodePath.cpp | |
parent | f0fe88bd36603b5ccb0d1c865e1ad8432dbe3b5e (diff) | |
download | redot-cpp-01606fa21296a2f0b7b4147c9548e6f2b972a26a.tar.gz |
Optimizations to the generated bindings
This change gets rid of the call-time method binding query, instead it queries
all method bindings up-front at initialization time so that no extra cost is
added at function call time.
In addition, also converted the "icall" code to a header-only library so one
level of unnecessary call-stack is eliminated.
Also changed binding generator to use real_t instead of double everywhere
(except at the GDNative interface where unfortunately using doubles is hard-coded
on the engine side).
All this comes at a minimal increase in binary size (for the library, as actual
native modules might not even increase in size in practice).
Diffstat (limited to 'src/core/NodePath.cpp')
0 files changed, 0 insertions, 0 deletions