Dailydave mailing list archives

Re: Why you care about this sort of Python bug.


From: Florian Weimer <fw () deneb enyo de>
Date: Sat, 05 Apr 2008 15:41:14 +0200

* Michel Arboi:

 The time should grow only by O(n^2), which is still slow enough :)

It seems that the execution time is roughly n^2 * 2*10^(-5)
Strange...

Not really.  It's proportional to the number of characters copied.
Python does not create string slices behind your back (at least in
certain popular implementations), unlike say Java.
_______________________________________________
Dailydave mailing list
Dailydave () lists immunitysec com
http://lists.immunitysec.com/mailman/listinfo/dailydave


Current thread: