Q: 缓存引用问题 #12
Answered
by
orca-zhang
orca-zhang
asked this question in
Q&A
Q: 缓存引用问题
#12
-
缓存引用虽然性能很棒, 但是 感觉很容易写出bug啊 |
Beta Was this translation helpful? Give feedback.
Answered by
orca-zhang
Jun 4, 2024
Replies: 1 comment
-
【性能好坏】和【是否缓存引用】没有必然联系,【缓存引用】也一样是特性,【引用】或者【非引用】只是选择不同,即使同样实现成【缓存引用】的方式也不是大概率比【非引用】方式快,反之亦然,不是选择大于努力的关系,也希望您能从性能优化的过程记录中获得相关信息。ecache更关注易用和性能,感谢关注。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
orca-zhang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
【性能好坏】和【是否缓存引用】没有必然联系,【缓存引用】也一样是特性,【引用】或者【非引用】只是选择不同,即使同样实现成【缓存引用】的方式也不是大概率比【非引用】方式快,反之亦然,不是选择大于努力的关系,也希望您能从性能优化的过程记录中获得相关信息。ecache更关注易用和性能,感谢关注。