time.time() or time.perf_counter() — which is faster?

后端 未结 0 443
小鲜肉
小鲜肉 2021-02-04 06:25

Context: I\'m implementing a memory cache with TTLs in my Python project, and it has to withstand considerable throughput. To determine when a cache record goes stale, I save it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题