The LOGGING constant in Listing 1 should be TRUE if you want this logging to work, but leave it FALSE when it is running on the cell phone, as the performance hit can be significant.
如果希望启用这个日志记录功能,那么 清单 1 中的 LOGGING 常量应当为 TRUE,但是如果是在手机上运行的话,应当将其设为 FALSE,因为性能损失是非常明显的。
Production running of existing applications (consider that migration requires true IaaS; PaaS alone may be insufficient)
现有应用程序的生产运行(请考虑迁移需要真正的 IaaS;只 PaaS 可能并不充分)
So a coding pattern intended to provide fair access to CPU resources while waiting for a condition to become true in fact consumes 100 percent of whichever CPU core it happens to start running on.
因此,意图提供对CPU资源的公平访问(等待某个条件变为真)的编码模式实际上将消耗运行它的整个CPU核心。
应用推荐