comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Reading columns of binary data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Reading columns of binary data [message #49601 is a reply to message #49596] Mon, 07 August 2006 11:07 Go to previous messageGo to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Mon, 7 Aug 2006, Wayne Landsman wrote:

>>
>> ; openr, 1, ...
>> arr=assoc(1, data)
>> result=arr[0:*:100]
>>
>> however, it has a big disadvantage of using huge memory for data. My
>> feature request would be an "assoc, unit, type, dimensions, [offset]"
>> system function, as the value of data in never used.
>>
>
> Yes, I agree with that feature request. But even if it were
> implemented I'm not sure that it solves my original question. From
> the documentation for ASSOC about multiple subscripts
>
> "Although the ability to directly refer to array elements within an
> associated file can be convenient, it can also be very slow because
> every access to an array element causes the entire array to be
> transferred to or from memory."
>
> So my impression is that this is not any better than reading the entire
> array and subscripting a column.
>

I have tried it, and it is not even allowed:

result=arr[0:*:100]
% Range illegal for record number in assoc var ref: ARR

so, may be assoc is associated with old VAX/VMS assoc in my head :-)

regards,
lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems with plotting in histogram mode
Next Topic: Re: Problems with plotting in histogram mode

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:28:09 PDT 2025

Total time taken to generate the page: 0.00483 seconds