diff options
author | Raul Santos <raulsntos@gmail.com> | 2021-07-25 13:46:31 +0200 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2021-07-26 03:52:31 +0200 |
commit | accd05f4ad15479884f64fd1b5ca01580a6aa9b5 (patch) | |
tree | 529ba64f81d9144621ff9a0cc55cd07f416f9bf0 /modules/gdscript/tests/test_gdscript.cpp | |
parent | 8932b55011126b06315ed544a0bc1f715ec37dd8 (diff) |
Use Array.Empty instead of allocating a every time
Use `System.Array.Empty<T>` to get an empty array instead of allocating
a new one every time. Since arrays are immutable there is no need to
allocate them every time.
Diffstat (limited to 'modules/gdscript/tests/test_gdscript.cpp')
0 files changed, 0 insertions, 0 deletions