From Bohemia Interactive Community
- Heeeere's Johnny! - c
- Posted on Mar 09, 2015 - 00:41 (UTC)
-
Copy_array1 append _array2;
is roughly 1.2× faster (depending on array size) than
(Averaged over 10.000 iterations with two identical arrays containing the numbers 0 through 9)
The larger the arrays to append, the faster append is as it does not create a new array, which happens with array addition.
- Killzone_Kid - c
- Posted on May 21, 2015 - 10:27 (UTC)
-
Array "unshift" implementation using append, a faster alternative to BIS_fnc_arrayUnShift:
- Killzone_Kid - c
- Posted on May 21, 2015 - 15:21 (UTC)
-
Array "insert" implementation using append, much faster alternative to BIS_fnc_arrayInsert:
- Killzone_Kid - c
- Posted on May 21, 2015 - 15:52 (UTC)
-
A faster alternative to BIS_fnc_arrayPushStack using append: