Reasons for speedup?
Reasons for speedup?
Posted Feb 12, 2025 18:00 UTC (Wed) by jreiser (subscriber, #11027)Parent article: Rewriting essential Linux packages in Rust
> sorting a text file containing all of Shakespeare's works ...
> the Rust version performing the test six times faster than GNU's implementation.
> the Rust version performing the test six times faster than GNU's implementation.
Why? (Algorithm strategy? Parallelism of CPU? Of I/O?) In what environment? (The same GNU code works in 16-, 32-, and 64-bit environments. 32-bit MS Windows offers only a cramped 2GiB of user address space, while the input and data structures fit easily in a minimal 64-bit machine with 4 GiB of RAM.)
