godot/scene
Pedro J. Estébanez 1b15c53479 Optimize-out some debug and/or non-tools methods
Collisions and nav debug are conditionally compiled depending on DEBUG_ENABLED
is_editor_hint() and is_node_being_edited() are compiled only with TOOLS_ENABLED
Every affected method is implemented in the header in case its macro is not present (the getters just returning false and the setters having an empty body) so the compiler can inline and finally no-op-out them as likely as possible.
is_node_being_edited() already showed a similar optimization effort and has been adapted to this change.
Furthermore, and as a consequence, -debugcol and -debugnav will not work on non-debug (strict release) builds.
This can bring a little bit of runtime performance on release and non-tooled builds (less code, so less cycles to spend and maybe more cache friendly).
2017-04-07 16:34:15 +02:00
..
2d Add priority to samples in a library 2017-04-06 23:59:49 +02:00
3d Add priority to samples in a library 2017-04-06 23:59:49 +02:00
animation Honor the Tween's final values 2017-03-29 19:35:51 -03:00
audio Add priority to samples in a library 2017-04-06 23:59:49 +02:00
gui List Control::has_point as a virtual method 2017-03-19 00:42:34 +01:00
io Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
main Optimize-out some debug and/or non-tools methods 2017-04-07 16:34:15 +02:00
resources Add priority to samples in a library 2017-04-06 23:59:49 +02:00
register_scene_types.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
register_scene_types.h Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
scene_string_names.cpp Added ability to change A-star cost function 2017-04-05 08:18:38 +02:00
scene_string_names.h Added ability to change A-star cost function 2017-04-05 08:18:38 +02:00
SCsub style: Various other PEP8 fixes in Python files 2016-11-02 22:30:34 +01:00