1. RE: Referencing Nested Sequences

Derek Parnell wrote:
> 
> 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
> ? -
> 
> Not really. If I understand this ( Robert Craig - can you confirm this?)
> correctly, altering an element inside a sequence does not mean that the
> entire sequence is copied to a new RAM location. Internally, a sequence 
> uses
> pointers to data, like a handle. This, combined with reference counting 
> and
> garbage collection, means that manipulating a sequence's contents is not 
> all
> that inefficient.
> 

It depends what you're doing.  Most sequence operations are fast, but if 
you take a nested sequence and iteratively grow the inner sequences your 
program can slow to a crawl (if it is BIG sequence), and you might have 
to switch to a less intuitive algorithm to get good efficiency.  There 
is "always a way" though, but sometimes you've got rewrite it a few 
times....

new topic     » topic index » view message » categorize

2. RE: Referencing Nested Sequences

Derek:
Are these words/expressions in a dictionary, or are they only aussie forms?
Regards.
----- Original Message -----
From: Derek Parnell <ddparnell at bigpond.com>
Subject: Re: Referencing Nested Sequences


>
>
> ----- Original Message -----
> From: <pblonner at optushome.com.au>
> To: "EUforum" <EUforum at topica.com>
> Sent: Saturday, June 07, 2003 6:55 PM
> Subject: Referencing Nested Sequences
>
> G'Day. I just clued in you're another vegemite. I'm from Melbourne. Hope
you
> find what you need from the Euphoria language. This list is a bonzer
source
> of info and there's only a couple of larrikins. Catch you later.
>
> --
> Derek
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu