How much faster is Rust than Python when finding neighboring words?

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • Rust is a badboy systems language, so I assume it's faster than Python when calculating the word association metric log dice. But, how much faster is it with this particular linguistic task?
    Here's my Rust script (with generous help from my son):
    github.com/ekbrown/scripting_...
    Here's my Python script:
    github.com/ekbrown/scripting_...
    #corpuslinguistics #rustlang #python

Komentáře • 2