Skip to content

Commit d0d6c42

Browse files
committed
more notes to the conclusion
1 parent 38d17fd commit d0d6c42

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,14 @@ test_itertools 56,762.8920 (119.05) 69,660.0200 (83.87) 58,4
488488
489489
# Conclusion
490490
491+
Back to the purpose of this post "How to Speed Up your Python with Rust" we started with:
492+
493+
- **Pure Python** function taking **102 ms**.
494+
- Improved with **Numpy** (which is implemented in C) to take **3 ms**.
495+
- Ended with **Rust** taking **1 ms**.
496+
497+
In this example **Rust** performed **100x** faster than our **Pure Python**.
498+
491499
`Rust` will not magically save you, you must know the language to be able to implement the clever solution and once implemented in the right it worth as much as C in terms of performance and also comes with amazing tooling, ecosystem, community and safety bonuses.
492500
493501
`Rust` may not be **yet** the `general purpose language` of choice by its level of complexity and may not be the better choice **yet** to write common simple `applications` such as `web` sites and `test automation` scripts.

0 commit comments

Comments
 (0)