To call or not to call

Richard Kreiss rkreiss at gccconsulting.net
Fri Apr 24 19:40:49 PDT 2015


Top post. 

This call would have been for every record. 

I had already moved it to the processing table as a subroutine. Wally's email confirmed that this was the best place for this 6 line routine. 

Richard Jreiss
Sent from my iPhone

> On Apr 24, 2015, at 6:38 PM, Kenneth Brody <kenbrody at spamcop.net> wrote:
> 
>> On 4/22/2015 12:39 AM, Richard Kreiss wrote:
>> Is it more efficient to use a call or a gosub when decrypting a field on
>> every record of an output?
> 
> There is less overhead in a GOSUB than a CALL, and there is less overhead in CALLing the same prc table over and over as compared to CALLing different prc tables.
> 
> Whether the overhead in CALL as compared to GOSUB is significant depends on how often it's called and what the rest of the processing does.
> 
> -- 
> Kenneth Brody


More information about the Filepro-list mailing list