Hi, i start learn *python3* and have some problem with execute time. I testing execute time speed on there methods
toop for i in range ( N ) ... a = '' a += (string + str(i)); ... a = [] a.append(string + str(i)) ... a = StringIO() a.write(string + str(i)) on N = 100000, i had some results: *STRING 1.0920219421386719* * **ARRAY 1.1565468311309814**StringIO 1.3690509796142578* it's very .. very slow. Similar in php, i tested there methods on N = 100000 too: loop i < N N++ ....... $a .= $string . $i; ... $a[] = $string . $i; And i had some best results, it's really faster: *STRING 0.38697910308838**ARRAY 0.603670835495* i try to configure mod_wsgi and i had there results on defauls settings. I want get best results in python. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To view this discussion on the web visit https://groups.google.com/d/msg/modwsgi/-/W1Y6HGpKFzEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
