Re: call_func is expensive
- Posted by _tom (admin) Aug 11, 2017
- 1390 views
petelomax said...
In summary: I cannot see a quick fix for this.
The more subtle 3x is probably more significant that the headline-making 4x.
At least from a Phix perspective, use of call_func in any sort function should indeed be minimised, at least for now.
Pete
patched the headline
I find that one can write a "test" that can show that call_function has a penalty, but not horrible one. Just fuss with different loops and you can generate "better" results.
Benchmarking is inexact...
_tom