rexim uniq _temp cat Main java public class Main public static void ma

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[rexim@uniq _temp]$ cat Main.java
public class Main {
public static void main(String args[]) {
int i;
for( i=0 ; i<10 ; i++ )
System.out.println(i);
}
}
[rexim@uniq _temp]$ cat pyt.py
#!/usr/bin/env python
if __name__=="__main__":
for i in range(10):
print i
[rexim@uniq _temp]$ time java Main
0
1
2
3
4
5
6
7
8
9
real 0m0.094s
user 0m0.040s
sys 0m0.013s
[rexim@uniq _temp]$ time ./pyt.py
0
1
2
3
4
5
6
7
8
9
real 0m0.011s
user 0m0.003s
sys 0m0.010s
[rexim@uniq _temp]$