As the original post (https://forum.godotengine.org/t/gdscript-getter-and-setter-functions-performance/65341) got no answers, I wonder if someone here has an opinion or idea on this topic?

TLDR:
Using set/get is faster than setting the property directly:

set_position(Vector2(100, 150)) # is faster
position = Vector2(100, 150) 

Why is it faster?
Is it always faster?
Why does the autocomplete not suggest get/set functions?

That's a more significant difference than I would have expected, but the individual operations are only about 0.2 usec for a set and 0.1 usec for a get.

It would be more useful to profile a real app, and see if it makes a significant difference in the app's performance.

Personally, I think it's more readable to get/set the property directly, without calling a getter/setter.

3 months later