Jeroen Demeyer <j.deme...@ugent.be> added the comment:

The gain is small, but it's there.

I made some further changes:

- replacing code of the form

    sp = stack_pointer;
    call_function(..., &sp, ...)
    stack_pointer = sp;

  by

    call_function(..., &stack_pointer, ...)

- fold the inline function do_call_core() in the main eval loop (the function 
became so small that there was no longer a reason to pull it out of the main 
loop)

- removed pointless check PyMethod_GET_SELF(func) != NULL (methods always have 
self != NULL)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36616>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to