Replies: 1 comment 1 reply
-
debug.* api 都不适合放在正常的流程中,顾名思义,这些是 debug 用的。作为一个动态语言,应该动态的使用它们。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我为了记录玩家金币变化的调用,在金币变化的时候调用了debug.traceback。导致玩家每次在商店购买的请求的平均处理时间在0.1s左右。但是把debug.traceback去掉。商店购买的请求平均处理时间就能到0.0002左右。差距非常大。
Beta Was this translation helpful? Give feedback.
All reactions