From 80b636069ae8a19e8e652c5f28cdb6d1e543cdb0 Mon Sep 17 00:00:00 2001 From: MewPurPur Date: Thu, 9 Nov 2023 16:17:18 +0200 Subject: Add performance note to Array.resize() --- doc/classes/PackedByteArray.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/classes/PackedByteArray.xml') diff --git a/doc/classes/PackedByteArray.xml b/doc/classes/PackedByteArray.xml index 516cc9f020..a934d32a6d 100644 --- a/doc/classes/PackedByteArray.xml +++ b/doc/classes/PackedByteArray.xml @@ -397,7 +397,7 @@ - Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling [method resize] once and assigning the new values is faster than adding new elements one by one. -- cgit v1.2.3