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

Home » Public Forums » archive » Re: Structure of arrays or arrays of structures?
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: Structure of arrays or arrays of structures? [message #64831 is a reply to message #64830] Fri, 23 January 2009 09:25 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Brian Larsen wrote:
> Thanks all,
>
> Some good points were raised, the statements about "...can quite easy
> create slices of your data set" and "...groups sets of data into
> consistent structures" resonated with me. I will play with array of
> structures for a while and see what I think. I have a feeling it will
> remedy a lot of annoying where() statements that occur since you cant
> "drop" array elements from a structure of arrays.

My $0.02: I reckon it depends on the problem you're dealing with, or how your data is
assembled, or how you interact with your data. IMO, neither approach is suitable as an
"always do it this way" method.

cheers,

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: BAR_PLOT with pairs of bars
Next Topic: A new version of GRAFFER

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

Current Time: Sun Oct 12 07:19:01 PDT 2025

Total time taken to generate the page: 1.83886 seconds