William Dode schrieb:
> Maybe the python implementation by default and an option tu use the
> C implementation (did you bench it ?). Like that most of the people will 
> have nothing to do.

If I measured correctly, then with the C implementation you can get the 
connection 10% faster. That's not a big deal, so I have now made the 
Python implementation the standard, but added a parameter so that you 
can use any other implementation as well.

> I just see that you added a closeable attribute, fine.
> 
> There is no close method for all the pool of PersistentDB ?

Yes, because it's not really a pool like in PooledDB. The connections 
are owned by the threads and are closed automatically when the threads 
are closed.

> Why the _close method of the connection to force it is not public ?

Since you should use the normal close method that heeds the closeable 
parameter.

You can download the new version at
http://www.webwareforpython.org/downloads/DBUtils/DBUtils-1.0rc1.tar.gz

-- Christoph

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to