Article | 70001998 |
Type | Wish |
Product | Engine |
Version | 9001 |
Date Added | 6/10/2021 12:00:00 AM |
Fixed | 9.9002.0.3 (6/10/2021 12:00:00 AM) |
Submitted by | Wayne Romer |
Summary
Int32Array fast constructor with default existing int[] array
Solution
In version 9002.0.3
The Int32Array constaructor method with an existing int [] array was modified to a faster code and with an extra optional passed parameter bclone
Int32Array(int[] items, bool bclone = true)
the bclone defines if the passed array items will be added to the collection as reference(false) or as a new copy of the passed array( true)
Default value is true
example:
int [] exisitingIntarray;
Int32Array arr = new Int32Array(exisitingIntarray,false);