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

EKB PhD January 28, 2024
Video Thumbnail
EKB PhD Logo

EKB PhD

@ekbphd3200

About

I make videos about computer scripting and software tools for linguistic analysis.

Latest Posts

No results found. Try different keywords.

Video Description

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_for_linguists/blob/main/Script_populate_dict.mojo And here's my Python script: https://github.com/ekbrown/scripting_for_linguists/blob/main/Script_populate_dict.py 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-black 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: https://youtu.be/AqDGkIrD9is?si=VfN6MCzYwX1tjsvB #mojolang #python

You May Also Like

No Recommendations Found

No products were found for the selected channel.