GLBasic forum

Main forum => GLBasic - en => Topic started by: Ruidesco on 2011-Nov-04

Title: Copying a subset of an array to another?
Post by: Ruidesco on 2011-Nov-04
Is there a fast way to copy a defined subset of data from one array to another, that doesn't involve scanning the source array index by index to copy each value individually?
Title: Re: Copying a subset of an array to another?
Post by: Kitty Hello on 2011-Nov-04
No. And things like memcpy will not work for typed arrays. In the end, this will all end with an 4-byte integer copy.