2
retoor
17h

Everyone ready for a new round of text analysis battle between languages? Because we have a new winner!

Extracting books.
Extracted books.
***benchmarking***
Time C: 1.597700595855713
Time Rust: 11.118101596832275
Time CPP: 4.090646266937256
Time Borded CPP: 2.62941575050354
Time Jest Rust: 5.983397006988525

Comments
  • 0
  • 1
    the c?

    the only reason mine is so low is I did clever data structure... idk why rust is so slow. maybe I should revisit
  • 0
    Have you pushed the code? The last commit to the c version is from 7 months ago
  • 1
    @Lensflare Little benchmark battle we did. Basically her isSpam program ported and optimized in different languages

    Will update my rust version soon :P
  • 0
    I just tried to look over mine but quite honestly I don't think I can make it faster. rust womp womp
  • 1
    @jestdotty I have some ideas to probably make it like 100x faster. But sadly I don't have time now

    Also benchmarks like this often have very little to do with the language and *much* more with how good your algorithm is

    You could probably write a Java version thats 10x faster than the original Rust and C versions
  • 0
    @12bitfloat if you say so ಠ_ಠ

    I'll believe it when I see it 😭
  • 0
    Yup, @12bitfloat is 100% correct.
  • 1
    Benchmarks are the programmer's most valuable vessels for lies.
  • 0
    Ah, yes. I C...

    /jk
Add Comment