Memory Management in GDScript — Roadmap Step & Resources
Writing code that avoids unnecessary allocations and leaks
Open on CachedInfo