1. append()

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

new topic     » topic index » view message » categorize

2. Re: append()

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

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

3. Re: append()

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

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

4. Re: append()

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

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

5. Re: append()

|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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu