Re: call_func is expensive

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu