Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I'm happy with Python 2.5

59 views
Skip to first unread message

n00m

unread,
Feb 27, 2011, 8:34:44 AM2/27/11
to
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win32

and Idon't move neither up nor down from it (the best & the fastest
version)

n00m

unread,
Feb 27, 2011, 8:38:48 AM2/27/11
to
Python 3 is a tempor. lapse of reason.
Just my an intuitive sensation, nothing objective in it.

Steven D'Aprano

unread,
Feb 27, 2011, 8:44:28 AM2/27/11
to

Congratulations.


--
Steven

n00m

unread,
Feb 27, 2011, 8:57:37 AM2/27/11
to
Steve, see a list of accepted langs there, in bottom dropdown:
http://www.spoj.pl/submit/ There *was* Python 2.6.
Then admins shifted back to 2.5. People vote by their legs.

Grigory Javadyan

unread,
Feb 27, 2011, 8:58:38 AM2/27/11
to n00m, pytho...@python.org
what the hell does that have to do with anything

> --
> http://mail.python.org/mailman/listinfo/python-list
>

n00m

unread,
Feb 27, 2011, 9:07:58 AM2/27/11
to
On Feb 27, 3:58 pm, Grigory Javadyan <grigory.javad...@gmail.com>
wrote:

> what the hell does that have to do with anything
>
> On Sun, Feb 27, 2011 at 5:34 PM, n00m <n...@narod.ru> wrote:
> > Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
> > (Intel)] on win32
>
> > and Idon't move neither up nor down from it (the best & the fastest
> > version)
> > --
> >http://mail.python.org/mailman/listinfo/python-list
>
>

Am I turmoiling your wishful thinking?
You may nourish it till the end of time.

n00m

unread,
Feb 27, 2011, 9:15:16 AM2/27/11
to
http://www.spoj.pl/problems/TMUL/

Python's "print a * b" gets Time Limit Exceeded.

=============================================
PHP's code
=============================================
fscanf(STDIN, "%d\n", &$tcs);
while ($tcs--) {
fscanf(STDIN, "%s %s\n", &$n, &$m);
echo bcmul($n, $m, 0)."\n";
}
=============================================
does it in 4.8s

Tom Zych

unread,
Feb 27, 2011, 9:27:39 AM2/27/11
to pytho...@python.org
n00m wrote:
> Am I turmoiling your wishful thinking?
> You may nourish it till the end of time.

Let us cease to nourish those fabled ones who dwell under bridges.

--
Tom Zych / freet...@pobox.com
Quidquid latine dictum sit, altum viditur.

Peter Parker

unread,
Mar 3, 2011, 12:28:07 PM3/3/11
to
On 02/27/2011 09:27 AM, Tom Zych wrote:
> n00m wrote:
>> Am I turmoiling your wishful thinking?
>> You may nourish it till the end of time.
>
> Let us cease to nourish those fabled ones who dwell under bridges.
>

LOL !

Ian Kelly

unread,
Mar 3, 2011, 1:43:12 PM3/3/11
to n00m, pytho...@python.org
On Sun, Feb 27, 2011 at 7:15 AM, n00m <n0...@narod.ru> wrote:
> http://www.spoj.pl/problems/TMUL/
>
> Python's "print a * b" gets Time Limit Exceeded.

If speed is the only thing you care about, then you can forget about
fretting over whether 2.5 or 3.1 is faster. You're using the wrong
language to begin with.

Steven D'Aprano

unread,
Mar 6, 2011, 2:58:36 AM3/6/11
to

Surely that depends on whether you care about execution speed or
development speed.

--
Steven

Tom Zych

unread,
Mar 6, 2011, 6:53:11 AM3/6/11
to pytho...@python.org

s/care/care more/. People generally care about both to /some/ extent.
(Probably being over-pedantic again...)

--
Tom Zych / freet...@pobox.com

"Would you like a lovely fluffy little white rabbit, little girl,
or a cutesy wootesly little brown rabbit?"
"Actually, I don't think my python would notice."

Michael Torrie

unread,
Mar 6, 2011, 12:25:02 PM3/6/11
to pytho...@python.org

rr, is that you?

geremy condra

unread,
Mar 6, 2011, 2:29:06 PM3/6/11
to Tom Zych, pytho...@python.org
On Sun, Feb 27, 2011 at 6:27 AM, Tom Zych <freet...@pobox.com> wrote:
> n00m wrote:
>> Am I turmoiling your wishful thinking?
>> You may nourish it till the end of time.
>
> Let us cease to nourish those fabled ones who dwell under bridges.

+1 QOTW.

Geremy Condra

n00m

unread,
Mar 6, 2011, 3:22:25 PM3/6/11
to
On Mar 6, 7:25 pm, Michael Torrie <torr...@gmail.com> wrote:
> On 02/27/2011 06:57 AM, n00m wrote:
>
> > Steve, see a list of accepted langs there, in bottom dropdown:
> >http://www.spoj.pl/submit/There *was* Python 2.6.

> > Then admins shifted back to 2.5. People vote by their legs.
>
> rr, is that you?

Are you asking me?
If so, my account there is http://www.spoj.pl/users/zzz/

n00m

unread,
Mar 6, 2011, 3:46:41 PM3/6/11
to
PS
The winner (just a schoolboy) of IOI 2009 lives in my town,
not very far from my house. I'm proud to have such a neibour.
His account on spoj: http://www.spoj.pl/users/tourist/
Of course he's also registered on many other online judge systems,
incl. www.topcoder.com

alex23

unread,
Mar 6, 2011, 11:28:19 PM3/6/11
to
On Feb 27, 11:57 pm, n00m <n...@narod.ru> wrote:
> http://www.spoj.pl/

There's your problem. I'd say most Python 3.x adopters are using it
for something other than working out whose performance dick is the
longest.

Steven D'Aprano

unread,
Mar 7, 2011, 12:10:16 AM3/7/11
to

In fairness, the Python Dev team is very aware of the risk of performance
degradation. Performance is important, but it is not *so important* that
it outweighs everything else.

The question that needs to be asked is not "Is Python 3 fast?", but
instead "Is Python 3 fast enough?".


--
Steven

n00m

unread,
Mar 7, 2011, 2:06:40 AM3/7/11
to
http://www.spoj.pl/forum/viewtopic.php?f=20&t=8264
That's all what I meant to say in here.
User numerix (German?) knows ropes of Python miles
far better than e.g. me.

Brian

unread,
Mar 7, 2011, 3:26:29 AM3/7/11
to
While some may see this thread as troll candy, others may not.
We want cake. And we need to eat it.

Doing a lot of instrument control and data acquisition stuff.
And a short dev period has same importance as short run time.

As for the safety of those that dwell under and walk over
bridges, yes I wrote a strain gage calibrator system that was
used by a civil engr for monitoring a bridge.

alex23

unread,
Mar 7, 2011, 10:45:15 PM3/7/11
to
Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote:
> The question that needs to be asked is not "Is Python 3 fast?", but
> instead "Is Python 3 fast enough?".

I'm certainly not going to argue against that, I just don't find the
coding contortions used on sites like spoj.pl for performance gains to
be anything approximating real world code. I will happily sacrifice
weird performance trickery for language consistency or performance
stability any day.

But at the same time, I read every single article on PyPy's ongoing
development that I can :)

0 new messages