Re: Re[2]: (Another) (small) Eu 2.5 feature request.
- Posted by Patrick Barnes <mrtrick at gmail.com> Sep 24, 2004
- 479 views
> > Y'know, it's wonderful that a sequence can hold anything... it's much > > better than C-style arrays. > > However, can *anyone* show me a program where they've used a sequence > > variable that was: > > 1. Large. > > 2. Completely non-homogenous. That is, there was no underlying > > structure to the sequence *at all*... > > > > Win32lib has the potential to do that. It uses a type of associative array > for some things. Really? So there's no pattern whatsoever to the array? Can you expand that description? I have used N-node trees for quite a few little experiments, and they are a type of data that does not simply fit into a sequence... It ended up becoming a sequence of "nodes", where an element in the node contained the index of the node's parent, and an element contained the indexes of all the node's children. Homogenous. Every top-level element had the same structure. (Maybe homogenous is not the correct word.. I dunno... ) -- MrTrick