Re: Referencing Nested Sequences

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

On 8 Jun 2003 at 11:06, pblonner at optushome.com.au wrote:

> 
> 
> Thanks ,
> 
> I did not expect such a quick response.
> Derek, I guess the ".au" postfix gave me away, I'm from Sydney.  Some of the
> lingo you used might give us all away as a "wierd mob" :)
> 
> I realise that I may have simplified my example to where it lost some of the
> general issue.   I was hoping/believing that Euphoria would be great for
> symbolic manipulations,i.e where you could coalesce sub-sequences into an item
> that is part of a larger item,  generally rearrange items in a sequence -
> where
> each of these items might be a nested sequence.
> 
> Would this result in is that large 'copying tasks' for  each rearrangement ? -
> even though it might just be pushing a item up or down the structure.
> That is, you may have just moved an subsequence - but as soon as you set a
> value
> in the "moved" subseqence would Euphoria assume a copy of the entire
> subsequence
> is necessary?   This is perhaps why a sort library function is vital, since
> shifting the items manually around and then setting values later would cause
> large 'copying' - i.e if the sort was coded outside the library function.
> 
> --
> Peter

As an example, Bach has a built-in sort.
For a sequence of 6000 chars, Eu managed 27 / sec.
while Bach was 125/sec.

Karl Bochert

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

Search



Quick Links

User menu

Not signed in.

Misc Menu