10-loc benchmarks are the silliest game in town, but if someone insists, here is what I think is the fastest Julia version:
Compilation is even faster in 1.9
With respect, I think that questions about the internals and design of Mojo should be asked on the Mojo forum (if there is one, didn’t check).
12 Likes