<s> def f1 ( ) : <EOL> x = "<STR_LIT>" <EOL> y = "<STR_LIT>" <EOL> z = "<STR_LIT>" <EOL> x += y + z <EOL> def f2 ( ) : <EOL> x = "<STR_LIT>" <EOL> y = "<STR_LIT>" <EOL> z = "<STR_LIT>" <EOL> x = x + y + z <EOL> def f3 ( ) : <EOL> x = "<STR_LIT>" <EOL> y = "<STR_LIT>" <EOL> z = "<STR_LIT>" <EOL> x = "<STR_LIT>" . join ( ( x , y , z ) ) <EOL> def f4 ( ) : <EOL> x = "<STR_LIT>" <EOL> y = "<STR_LIT>" <EOL> z = "<STR_LIT>" <EOL> x = "<STR_LIT>" % ( x , y , z ) <EOL> import timeit <EOL> for x in xrange ( <NUM_LIT:4> ) : <EOL> statement = "<STR_LIT>" % ( x + <NUM_LIT:1> ) <EOL> t = timeit . Timer ( statement , "<STR_LIT>" + statement ) <EOL> r = t . repeat ( <NUM_LIT:3> , <NUM_LIT> ) <EOL> print r , min ( r ) </s>
