Why is Mojo's dictionary slower (!) than Python's?

Описание к видео Why is Mojo's dictionary slower (!) than Python's?

Seriously, I don't know why. Leave a comment with feedback on my Mojo script.

Take a look at my Mojo script here:
https://github.com/ekbrown/scripting_...

And here's my Python script:
https://github.com/ekbrown/scripting_...

Here's the Mojo language:
https://www.modular.com/max/mojo

BTW: I used the Elgato Wave 3 microphone in this video:
https://www.elgato.com/us/en/p/wave-3...

Here's a follow-up video in which a hand-written hashmapdict in Mojo (thanks to Maxim Zaks!) that is faster than Python's dictionary:
   • Mojo hand-written hash map dictionary...  

#mojolang #python

Комментарии

Информация по комментариям в разработке