godot/scene/main
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
..
canvas_layer.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
canvas_layer.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
http_request.cpp Remove set_ip_type from network classes (no longer needed) 2017-03-22 21:00:23 +01:00
http_request.h Remove set_ip_type from network classes (no longer needed) 2017-03-22 21:00:23 +01:00
instance_placeholder.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
instance_placeholder.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
node.cpp fix remove_and_skip() 2017-03-19 00:38:36 +01:00
node.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
resource_preloader.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
resource_preloader.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
scene_main_loop.cpp Optimize-out some debug and/or non-tools methods 2017-04-07 16:34:15 +02:00
scene_main_loop.h Optimize-out some debug and/or non-tools methods 2017-04-07 16:34:15 +02:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-02 22:28:28 +01:00
timer.cpp Fixer looping timer accumulation in _process 2017-04-05 08:24:15 +02:00
timer.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
viewport.cpp Viewport: Fix undefined behaviour found by llvm sanitizer. 2017-04-05 08:18:59 +02:00
viewport.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00