Index   <<   >>

Faster, faster!

J provides a compiling variant of function definition which yields a function which does not required to be parsed at each execution.

   IMC=. 13 : '(y,y)$(1+y){.1'
   IMC 2
1 0
0 1

Because IMC need not be parsed, it execution time may be significantly faster than the conventional form.

   100 time 'IM 100'
0.0113333
   100 time 'IMC 100'
0.005