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):
pyx_code.put_chunk(
u"""
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:
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