1. append()
- Posted by a.tammer at hetnet.nl
May 30, 2002
Hi Rob,
Was my first try at making concatenation into append and prepend=
by any chance right the first time. I still haven't looked it=
up.
Or are you teasing me to prove I can do the other thing I said?
No chance either, QT, I'll keep that for the moment it will=
really be necessary.
: P Antoine
2. Re: append()
- Posted by dm31 at uow.edu.au
May 30, 2002
I have to agree with Antoine. I never use append or prepend because
I've been able to do the job faster with &. I found this out after
trying to speed up several programs, but they only went slower with
append.
regards,
Dan
3. Re: append()
- Posted by euman at bellsouth.net
May 30, 2002
Hello,
What about using repeat( ) to build your sequence and assigning values to given
indice within, then truncating any over allocated sequences when finished.
Although, this could become a problem if you run out of alloted sequence
so care must be used with this method.
This is usually a much faster codeing style.`!
Euman
----- Original Message -----
From: <dm31 at uow.edu.au>
I have to agree with Antoine. I never use append or prepend because
I've been able to do the job faster with &. I found this out after
trying to speed up several programs, but they only went slower with
append.
regards,
Dan
4. Re: append()
- Posted by a.tammer at hetnet.nl
May 30, 2002
Your solution depends on the size of sequences Euman.
If they were under 3 or 4 positions the method Dan and I, and=
maybe others use
would be faster I timed it . Ask Robert Craig about how I time=
things.
Dan, fully correct guy, I sent the correction in thrice, guess=
there was a quirky filtered word in it,
on things to be forgotten if you get my drift. I was to etc....
Didn't like to consult RefMan on correct order.
Could be other reasons, see thread, what I ask Rob.
Cheers guys.
It's midnight here, so you can guess what I'm gonna do
CU
antoine
5. Re: append()
- Posted by dm31 at uow.edu.au
May 30, 2002
|What about using repeat( ) to build your sequence and assigning
values to given
|indice within, then truncating any over allocated sequences when
finished.
|
|Although, this could become a problem if you run out of alloted
sequence
|so care must be used with this method.
|
|This is usually a much faster codeing style.`!
|
|Euman
I also use this where possible, some times I'm lazy and don't,
sometimes I just can't use it because I can't predict how many
elements I need. Either way, I still don't use append or prepend
regards,
Dan