短评 · ·

X 归档 2022-03-17

2 条动态 · 图 2 · 视频 0
Performance tip: did you know you can make a fast function for relative time strings with ~30 lines of code and 0 dependencies?

Code in 🧵:
性能小贴士:你知道吗,用约 30 行代码、0 依赖就能写出一个生成相对时间字符串的高速函数?

代码在 🧵 里:
@Steve8708 的配图 1/1
Performance tip: did you know you can make a fast function for relative time strings with ~30 lines of code and 0 dependencies?

Code in 🧵:
性能小贴士:你知道吗,用约 30 行代码、0 依赖就能写出一个生成相对时间字符串的高速函数?

代码在 🧵 里:
@Steve8708 的配图 1/1