String concatenation - which is the fastest way ?

Chris Angelico rosuav at gmail.com
Wed Aug 10 10:38:16 EDT 2011


On Wed, Aug 10, 2011 at 2:31 PM,  <przemolicc at poczta.fm> wrote:
> - fetch all rows from the database (up to 1 million): what is recommended data type ?
> - spawn X python processes each one:
>    - concat its own subset
> - merge the result from all the subprocesses
>

What you're writing is, fundamentally, glue between your SQL engine
and your SQL engine. Look up what you get from your query and work
with that. Which SQL library are you suing?

Python may and may not be the best tool for this job.

Chris Angelico



More information about the Python-list mailing list