When running on slow hardware, the framerate can drop until the game update loop will reach MAX_FRAMESKIP.
但运行在低速的硬件下时,帧速率会下降直到游戏更新循环抵达MAX_FRAMESKIP。
Update bills (5 seconds); sequential scan of bills with a nested loop read of bill_items.
更新bills(5秒);利用对bill_items的循环嵌套读取来顺序扫描。
Update bill_items (58 seconds); sequential scan of bill_items with a nested loop read of customer.
更新bill_items(58秒);利用对customer的嵌套循环读取,来顺序扫描bill_items。
"Actually, everyone would be fine with an annual update," he said, "but that would make people feel like they were out of the loop."
“其实,每年更新一次,大家也都一样过”他说。
For example, you can loop through projects and update their statuses based on the current cursor position (see Listing 5).
例如,您可以遍历项目,并基于当前游标位置更新其状态(参见清单5)。
That means that if you commit every single update in a loop, you will waste a lot of time just waiting for acknowledgment.
这就意味着如果我们总是每更新一次数据便提交一次,会因为确认信息而浪费许多时间。
That means that if you commit every single update in a loop, you will waste a lot of time just waiting for acknowledgment.
这就意味着如果我们总是每更新一次数据便提交一次,会因为确认信息而浪费许多时间。
应用推荐