On running x.py #327
mTvare6
announced in
Announcements
Replies: 1 comment 2 replies
-
Python is slow 🐌, please run only blazing fast Rust code 🚀. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Running the x.py script on my machine(a mac), for 12.09 seconds creates 63339 lines, so for each second, apprx 5238 lines in the beginning, the later would go even slower due to higher computation required for finding words nearing billions. At this rate for the script to complete(9,223,372,036,854,775,807 lines), it would require apprx, 20,218,180,145 days, or 55,392,274 years. And the same file takes 5Mb, thus for 9,223,372,036,854,775,807 lines it would take 711,075,965,480Gb(if all names are as small as in 1->62k range but expotentially more considering longer words will be required).
Thus my kind request is that someone spend time trying to complete the file, at least by parts modifying to get specific ranges x.py so that we might be able to see full power of the rust compiler in compiling such files, to show the superiority of rust.
Last but not least, thanks to #78 to inspire me to build such great artifacts and my comment on 24 Sep 2021
Beta Was this translation helpful? Give feedback.
All reactions