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

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

Пікірлер: 2

  • @patates1165
    @patates1165Ай бұрын

    nice video :)

  • @ekbphd3200

    @ekbphd3200

    Ай бұрын

    Thanks!