Performance is a pretty simple one. With bc, 3^10000000 % 101
takes about 30 seconds, while in Julia
julia> @time big(3)^10000000 % 101
0.054018 seconds
Performance is a pretty simple one. With bc, 3^10000000 % 101
takes about 30 seconds, while in Julia
julia> @time big(3)^10000000 % 101
0.054018 seconds