Skip to content
Browse files

reduce runtime overhead for 'dest_sig' variable setup

  • Loading branch information...
1 parent 1a51b13 commit b1ece04a9c90365e424c6b59e2f92af415f9368f @scoder committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cython/Compiler/FusedNode.py
View
2 Cython/Compiler/FusedNode.py
@@ -531,7 +531,7 @@ def make_fused_cpdef(self, orig_py_func, env, is_def):
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 = {}

0 comments on commit b1ece04

Please sign in to comment.
Something went wrong with that request. Please try again.