mfenniak/pg8000 — pull request #16 by tlocke (2013-07-27 18:36:04+00:00)
Title: Speed up driver

Hi Mathieu, I hope you like this!
-----------------

Re-arrange the code as a state machine to give > 30% speedup. Also a
few other changes:

* Make 'named' the default paramstyle (PEP 249 doesn't seem to like
'format')

* Make 'threadsafety' 2, so threads can't share cursors.

* Connect by doing pg8000.connect() rather than pg8000.DBAPI.connect()

* Replace Bytea type with built-in 'bytes' type.