Hi,
I need to find a way to "clone" an array of integers. I know from the documentation that I cannot use the B4XSerializator as it specifically does not support arrays of primitves types.
Unfortunately changing this array into a List would be nearly impossible due to the specific application. I also doubt I would be able to turn it into an array of objects as I really need int values (the array is a chess board and the elements are the pieces mapped to int values )
What could be another way to make a fast copy of an array? Execution Speed is really key in this application.
thanks
I need to find a way to "clone" an array of integers. I know from the documentation that I cannot use the B4XSerializator as it specifically does not support arrays of primitves types.
Unfortunately changing this array into a List would be nearly impossible due to the specific application. I also doubt I would be able to turn it into an array of objects as I really need int values (the array is a chess board and the elements are the pieces mapped to int values )
What could be another way to make a fast copy of an array? Execution Speed is really key in this application.
thanks