View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
R Avery[_2_] R Avery[_2_] is offline
external usenet poster
 
Posts: 44
Default Change LBound of array

because i know that its possible with a few API calls to change the
base of the SAFEARRAY without having to move the actual data in memory
anywhere. The reason its unacceptable is that it's too slow. I'm
loading like 100 MB of Excel data at a time into an array, many times,
and copying the data to a whole new array would impact performance.

It has to be zero-based because i force all my objects to have
zero-based collections and arrays in order to avoid confusion.