You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
By making sure that Thread always has a valid caller_id we can remove the check making the function a straightforward getter instead. In some quick tests we see a repeatable performance improvement of somewhere around 0.32 mspf in TPS demo. Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
4.6 KiB
4.6 KiB