I wrote two absolutely identical pieces of code on python and Julia:

```
from time import time
start_time = time()
def euclidian_algorithm_division_count(a, b):
division_count = 1
if b > a:
a, b = b, a
while (c := a % b) != 0:
a, b = b, c
division_count += 1
return division_count
N = 10**100
M = 10**4
from random import randint
division_count_array = []
while M > 0:
a = randint(1, N)
b = randint(1, N)
division_count_array.append(euclidian_algorithm_division_count(a, b))
M -= 1
print(time() - start_time, "seconds")
```

```
@time begin
function euclidean_algorithm_division_count(a, b)
division_count = 1
if b > a
a, b = b, a
end
while (c = a % b) != 0
a, b = b, c
division_count += 1
end
return division_count
end
function main()
N = big(10)^100
M = 10^4
division_count_array = []
while M > 0
a, b = rand(1:N, 2)
push!(division_count_array, euclidean_algorithm_division_count(a, b))
M -= 1
end
end
main()
end
```

And thatâs the output i got:

0.6859960556030273 seconds for python;

1.760202 seconds (9.66 M allocations: 191.444 MiB, 20.62% gc time) for Julia;

I believe compiled Julia canât be slower than python for real, thus the problem is in my code. Where did i mistake?