At Julia site (http://julialang.org/) they placed the results
of a battery of small performance tests. The test scripts
are referenced in the citation below:
we’ve written a small set of micro-benchmarks in a variety of
I began to translate R code into gretl to do the same battery
of tests for Gretl. The script attached.
The firs test is about recursion: compute
Either, I wrote very inefficient code, or
recursion in Gretl is very slow and needs amending.
The attachment also contains non-recursive script
for Fibonacci numbers. It works several thousands
times faster (
172092 times on my pc)