Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11255

Re: String concatenation - which is the fastest way ?

Date 2011-08-12 09:10 +0200
From przemolicc@poczta.fm
Subject Re: String concatenation - which is the fastest way ?
References (4 earlier) <20110811064030.GB4990@host.pgf.com.pl> <CAPTjJmqiiKcT7Zg-XkbrQ4r-keU9+1Kj=+sEwa4xp==2EG-5aQ@mail.gmail.com> <20110811134613.GE4990@host.pgf.com.pl> <mailman.2180.1313070526.1164.python-list@python.org> <d3373f34-6031-43c8-887d-de8a56a74709@g9g2000yqb.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2205.1313133047.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Aug 11, 2011 at 02:38:32PM -0700, SigmundV wrote:
> When I saw the headline I thought "oh no, not string concatenation
> again... we have had scores of these thread before...", but this is a
> rather interesting problem. The OP says he's not a database
> developer,  but why is he then fiddling with internal database
> operations? Wouldn't it be better to go back to the database
> developers and have them look into parallel processing. I'm sure that
> Oracle databases can do parallel processing by now...

:-)
Good question but I try to explain what motivates me to do it.
First reason (I think the most important :-) ) is that I want to learn
something new - I am new to python (I am unix/storage sysadmin but with programming
background so python was a natural choice for more complicated
sysadmin tasks).
Another reason is that our server (and I am responsible for it) has
many, many but slow cores (as I had written before). It means that
parallelization of operations is obvious - the developer is not keen
to spent much time on it (she is busy) - and for me this is something new
(among some boring daily tasks ... ;-) ) and fresh :-)
Another intention is to get some more knowledge about parallelization:
how to divide some task into subtasks, what is the most optimal way to do it, etc
And the last reason is that I love performance tuning :-)

Regards
Przemyslaw Bak (przemol)



















































----------------------------------------------------------------
Zmyslowa bielizna? U nas ja znajdziesz!
http://linkint.pl/f29fe

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: String concatenation - which is the fastest way ? Chris Angelico <rosuav@gmail.com> - 2011-08-11 14:48 +0100
  Re: String concatenation - which is the fastest way ? SigmundV <sigmundv@gmail.com> - 2011-08-11 14:38 -0700
    Re: String concatenation - which is the fastest way ? przemolicc@poczta.fm - 2011-08-12 09:10 +0200
      Re: String concatenation - which is the fastest way ? SigmundV <sigmundv@gmail.com> - 2011-08-12 09:09 -0700

csiph-web