[Numpy-discussion] patches to reduce import costs

Stéfan van der Walt stefan@sun.ac...
Thu Jul 31 18:14:22 CDT 2008


2008/7/31 Andrew Dalke <dalke@dalkescientific.com>:
> I don't see a place to submit patches.  Is there a patch manager for
> numpy?
>
> Here's a patch to defer importing 'tempfile' until needed.  I
> previously mentioned one other place that didn't need tempfile.  With
> this there is no 'import tempfile' during 'import numpy'
>
> This improves startup by about 7%

Thanks for the patch.  Applied in r5588.

Cheers
Stéfan


More information about the Numpy-discussion mailing list