如果时间紧张,比赛距离可能被缩短。
对于赛跑应用程序,我需要提供根据比赛距离进行切分的行为。
For the racing application, I need to provide behavior that shards by race distance.
由于两个比赛距离不同,所以基于距离执行搜索很合理,如清单 6 所示
With two races of difference distances, it makes sense to search based on distance, as shown in Listing 6
应用推荐