[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: point_lun is slow

Struan Gray wrote:

> simplest way to access this data be to use ASSOC to associate a huge
> array of 2-byte variables with the file and then subscript it as
> necessary to read in either frames or groups of individual pixels.


ASSOC - certainly the simplest and also the fastest in cases where every
element of the data is needed.  but when for example only the
[1538,395778,790018,... 434454018] location elements are needed from the
file it is faster to point_lun to each.  furthermore, the size of each
associated read can affect the overall speed of a procedure. it's a
better understanding of this subtlety that i am hoping for.