I test the speed of a hand-written hash map dictionary in Mojo language against Python and Julia. The hand-written hash map dictionary is much quicker (9x) than Mojo's native dictionary data type, and slightly quicker than Python, but both are slower than Julia.
Here's my Mojo script:
github.com/ekbrown/scripting_...
Here's my Python script:
github.com/ekbrown/scripting_...
Here's my Julia script:
github.com/ekbrown/scripting_...
Here's the Mojo hand-written hash map dictionary github repo:
github.com/mzaks/mojo-hash
Here's the question I asked on Mojo's official github repo:
github.com/modularml/mojo/dis...
#mojolang #julialang #python
Негізгі бет Mojo hand-written hash map dictionary versus Python and Julia
Пікірлер: 6