[Numpy-discussion] patches to reduce import costs

Stéfan van der Walt stefan at sun.ac.za
Thu Jul 31 19:14:22 EDT 2008


2008/7/31 Andrew Dalke <dalke at 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