--
You received this message because you are subscribed to the Google Groups "Numba Public Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numba-users...@continuum.io.
To post to this group, send email to numba...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/563f34f1-07b4-493d-95ff-fb703e1b8676%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/CADXTekKUy4FTs5Nkq6WE1kjiqHAjWT78MmZeizu3mwePO155%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
On 2018-07-11 18:26, Siu Kwan Lam wrote:
> This leads
> to my first question: Is the /builtin_function_or_method /object already
> getting the benefit from the fastcall?
It depends on how it is called. There currently is no public API for
calling a function using the FASTCALL convention, there are private
functions like _PyCFunction_FastCallKeywords(). Internally, those are
used by the CPython bytecode interpreter.
> The dispatcher finds the appropriate overload version
> and call the corresponding /builtin_function_or_method /objects.
Are those builtin_function_or_method objects exposed to the outside? I'm
just wondering why you use that instead of bare C function pointers.
> This
> leads to my second question: With these PEPs, can I speedup the
> /Dispatcher/ type by using the fastcall convention?
Yes, that's exactly the point of those PEPs.
Does numba internally optimize those calls, say from one @jit function
to another @jit function?
Jeroen.
Calls will become as fast as calls of builtin_function_or_method.
--
You received this message because you are subscribed to the Google Groups "Numba Public Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numba-users...@continuum.io.
To post to this group, send email to numba...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/5B4871C8.7080408%40UGent.be.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.