PyPy 为什么能让 Python 比 C 还快?一文了解内在机制
机器学习实验室
共 1778字,需浏览 4分钟
·
2021-05-11 01:55
import time
from termcolor import colored
start = time.time()
number = 0
for i in range(100000000):
number += i
print(colored("FINISHED", "green"))
print(f"Ellapsed time: {time.time() - start} s")
往期精彩:
点个在看
评论