Skip to content

8 Callbacks

Thierry Dumont edited this page Sep 4, 2019 · 2 revisions

Here are the results on reference machine. As explained, we compare with the computing time obtained with C++-Functor.

Type f g implicit
C++-lambda 1.012 1.007 none
C++-Pointer 0.988 1.004 0.996
Py 16.21 19.43 9.359
Pythran 1.045 1.101 0.759
Numba 1.896 2.758 1.158
Ju 1.408 0.893 0.816

Some comments:

  • C++ with pointers shows good performances! A bit surprising...

  • Pythran shows very good performances.

  • Julia : good performances, but not so good for the simplest case (f). Why ?

Clone this wiki locally