Re: python modul pre-import to avoid importing each time

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Rémi Cura <remi(dot)cura(at)gmail(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: python modul pre-import to avoid importing each time
Date: 2014-06-27 02:27:58
Message-ID: 53ACD6AE.1060305@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/26/2014 02:14 AM, Rémi Cura wrote:
> Hey,
> thanks for your answer !
>
> Yep you are right, the function I would like to test are going to be
> called a lot (100k times), so even 15 ms per call matters.
>

I got to thinking about this.

100K over what time frame?

How is it being called?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ravi Kiran 2014-06-27 06:23:08 Executing nodenestloop.c
Previous Message Tim Uckun 2014-06-26 22:35:28 Re: Fast data, slow data