voxelcore/src/logic
Vyacheslav Ivanov 1bdc9cf759
fix: optimization: PVS-Studio warning V835
Passing cheap-to-copy arguments by reference can sometimes lead to decreased performance. This change ensures that the argument is passed by value, which is more efficient in cases where the argument is inexpensive to copy.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 02:38:54 +03:00
..
scripting add on_update, on_render to docs & change entities tps to 20 2024-08-01 16:04:27 +03:00
BlocksController.cpp move class Clock to a separate unit 2024-07-19 20:49:04 +03:00
BlocksController.hpp move class Clock to a separate unit 2024-07-19 20:49:04 +03:00
ChunksController.cpp fix: optimization: PVS-Studio warning V832 2024-08-02 01:57:43 +03:00
ChunksController.hpp Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
CommandsInterpreter.cpp add 'entity.despawn' command 2024-07-17 07:35:02 +03:00
CommandsInterpreter.hpp fix: optimization: PVS-Studio warning V832 2024-08-02 01:57:43 +03:00
EngineController.cpp refactor EngineController.cpp 2024-07-24 17:44:43 +03:00
EngineController.hpp Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
LevelController.cpp add on_update, on_render to docs & change entities tps to 20 2024-08-01 16:04:27 +03:00
LevelController.hpp build time decreased 2024-05-23 02:05:08 +03:00
PlayerController.cpp fix: optimization: PVS-Studio warning V835 2024-08-02 02:38:54 +03:00
PlayerController.hpp fix: optimization: PVS-Studio warning V835 2024-08-02 02:38:54 +03:00