Re: [pysqlite] [ANN] pysqlite 2.5.1

"Markus Gritsch" <[email protected]> Thu, 27 Nov 2008 17:48:27 +0100
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Thu, Nov 27, 2008 at 4:45 PM, Gerhard Häring <[email protected]> wrote:
> Markus Gritsch wrote:
>> Hi,
>>
>> will future binary releases of pysqlite remain cross-compiled with
>> mingw?
>
> Yes. It makes producing releases so much easier for me.
>
>> If so using -O2 or -O3?
>
> I don't know yet. What do you suggest?

Using -O2 on mingw produces inferior performing code compared to the
one produced my the MS compiler.  Using -O3 results in comparable
performance but more than twice as large binaries.  So there has to be
a tradeoff between
* easiness of producing releases
* fast code
* small code

Unfortunately the "Choose any three" slogan of SQLite cannot be used
;)  I have to admit that I would prefer having small and fast binaries
being produced by someone other than me :D

I think I will continue to build the binary I need using the MS
compiler myself.  Concerning the O2/O3 question I have no satisfying
answer.

Kind regards,
Markus