To call or not to call

Kenneth Brody kenbrody at spamcop.net
Fri Apr 24 15:38:06 PDT 2015


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