Nikita Nemkin wrote:
Sorry, accidental early send. Previous mail continued...[None] * N makes an extra pass over the list to assign None to each item (and also incref None n times).
Maybe this could be optimised by adding N to the reference count instead of incrementing it N times? -- Greg _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel