Re: lazy import for uuid module

From: Federico Di Gregorio <federico(dot)digregorio(at)dndg(dot)it>
To: psycopg(at)postgresql(dot)org
Subject: Re: lazy import for uuid module
Date: 2011-06-28 15:32:00
Message-ID: 4E09F3F0.6020705@dndg.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On 28/06/11 17:12, Marko Kreen wrote:
> With this patch, 200x python -c 'import psycopg2.extras'
> goes from 22s to 7s. (plain 'import psycopg2' is 6s)

Applied to devel branch, will be in 2.4.3. Thank you very much.

federico

--
Federico Di Gregorio federico(dot)digregorio(at)dndg(dot)it
Studio Associato Di Nunzio e Di Gregorio http://dndg.it
Best friends are often failed lovers. -- Me

In response to

Browse psycopg by date

  From Date Subject
Next Message Ronan Dunklau 2011-07-01 13:05:44 Custom array types converter
Previous Message Marko Kreen 2011-06-28 15:12:43 lazy import for uuid module