Re: Multidimensional arrays

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 24 Nov 2004 17:29:14 -0600, Kat <gertie at visionsix.com> wrote:
> > But to have it built-in to the language will encourage inefficient
> > programming.. IMO.
> 
> Having it in C code in the language, should be faster than doing it Eu,
> written
> by a programmer inexperienced in Eu code. And the question has come up
> before, many times.

That is true...
To do something like that efficiently though, you'd need a doubly
indexed array... and it'd be slower for non-doubly indexed purposes.

You know what would be truly ground-breaking, I think? A way to define
the internal structure of a collection of data (like a tree, a list, a
doubly indexed array, a heap, etc...) then access them using
high-level, homogenous terms.
It'd be fast, because it could use optimal organisation, rather that
sitting everything in multiply nested arrays as we do now.
Not sure where to begin though.

-- 
MrTrick

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu