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

Поділитися
Вставка
  • Опубліковано 21 вер 2024
  • Seriously, I don't know why. Leave a comment with feedback on my Mojo script.
    Take a look at my Mojo script here:
    github.com/ekb...
    And here's my Python script:
    github.com/ekb...
    Here's the Mojo language:
    www.modular.co...
    BTW: I used the Elgato Wave 3 microphone in this video:
    www.elgato.com...
    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...
    #mojolang #python

КОМЕНТАРІ • 29