1
retoor
5h

12 floating bitches, I have news for you, your toy language is not the fastest anymore.

https://retoor.molodetz.nl/retoor/...

But I think, in the end Bordii will win this competition. He's doing sick stuff.

See the GCC parameters, really sick.

What changed is, it's now optimized especially for the load that it will process:

There are 904 files in total.
The total size of all files is around 520.92 MB.
The average file size is around 0.58 MB.

It's stupid to read such small files in batches right. Vroem!

Comments
  • 1
    Seems unfortunately that some of your code gets optimized away, so not the fairest comparison :P

    time ./isspam books/*.txt

    C:

    ```

    Total Words: 0

    Total Capitalized words: 0

    Total Sentences: 9191539

    Total Numbers: 0

    Total Forbidden words: 0

    Capitalized percentage: 0.000000%

    Forbidden percentage: 0.000000%

    Word count per sentence: 0.000000

    Total files read: 904

    ./isspam books/*.txt 0.25s user 0.08s system 844% cpu 0.039 total

    ```

    Rust:

    ```

    time ./risspam books/*.txt

    Total Words: 81079224

    Total Capitalized words: 1538100

    Total Sentences: 9193023

    Total Numbers: 14973275

    Total Forbidden words: 113955

    Capitalized percentage: 1.897033

    Forbidden percentage: 0.140548

    Word count per sentence: 8.819648

    Total files read: 904

    ./risspam books/*.txt 1.76s user 0.17s system 1999% cpu 0.097 total

    ```
  • 1
  • 1
    Fuck, it's just the last optimization i guess. Fuck. Will check tomorrow. Now working with roocode on some stuff. It's getting fun.
Add Comment