Commit b1ece04a authored by Stefan Behnel's avatar Stefan Behnel

reduce runtime overhead for 'dest_sig' variable setup

parent 1a51b137
...@@ -531,7 +531,7 @@ class FusedCFuncDefNode(StatListNode): ...@@ -531,7 +531,7 @@ class FusedCFuncDefNode(StatListNode):
pyx_code.put_chunk( pyx_code.put_chunk(
u""" u"""
def __pyx_fused_cpdef(signatures, args, kwargs, defaults): def __pyx_fused_cpdef(signatures, args, kwargs, defaults):
dest_sig = [None] * {{n_fused}} dest_sig = [{{for _ in range(n_fused)}}None,{{endfor}}]
if kwargs is None: if kwargs is None:
kwargs = {} kwargs = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment