Another trick for improving performance in simple numeric procedures, is to use the bespoke cpu calling convention:
Instead of passing params on the stack, registers ecx,edx,esi,edi, are used. (max 4 params.)
include "$/inc/console.inc"
indexbase 0
function funA cpu (a,b,c,d) as sys
#show return a+(b*c)+d
end function
sys a
#show a=funA 1,2,3,4
print a
waitkey