Hi guys. Have a couple questions about XSI arrays objects like CValueArray,
CLongArray, CRefArray etc.

q.01: how should i delete elements from this arrays ?
The Clear() function leaves empty objects inside arrays.

q.02: wats better way to check if array have item ?
When we deal with verts indicies in CLongArray, arrays can be really big.
So walk whole array in for loop is quite expansive. Maybe there is a better
way to check arrays or some work around ?

q.03: i am often looking for arrays intersections ( when two lists have the
same element ) and so far i didn't know no native API function to get
intersection of two arrays. This is also very performance expansive job.

Reply via email to