Re: object replication

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

In A message I wrote were the following statements:


>> Below is a routine to copy any object "exactly". But my
>> intent is really to release the original object from any pointers.
>> This will have speed benefits.


Rob replied:

>Can you create an example that shows these alleged speed benefits?
>I really don't see the point to this.


Actually I thought that I did have an example of speed degradation in
sequences. You see, a few months ago I wrote a small program to provide some
useful data for the office that I work at. Basically, the program read in
two lists of  data and then amalgamated them using a common attribute, ie
the clients ID number. The original lists contained about 4000 entries and
after amalgamation 1500. Now, when I first ran this program I observed the
counter on the screen. Initially the counter was updating very quickly but
it soon slowed down and continued doing so until all records have been
processed. I PRESUMED that this was due to the pointer-istic (if such a term
be allowed) nature of the sequence in Euphoria. Well, I have spent a couple
hours recreating this program and, you know, I cannot duplicate the anomaly.
Whats more, the entire program now takes only 3 seconds to run. This is
somewhat different from the minute or so that it required previously.

[quickly changing topic]

Could someone please send me a copy of the program i posted called
minute.exw . All mine got vapourised a few weeks ago by you-know-who.

Yours truly
Michael Palffy

michael at igrin.co.nz

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

Search



Quick Links

User menu

Not signed in.

Misc Menu