接下来是实例行为:我希望我的User实例支持按影响力顺序列出所有转贴的能力,这意味着我需要添加另一个方法。
Next up is instance behavior: I want my User instances to support the ability to list all retweets in order of influence, which means I need to add another method.
在操作上重复o (N)行为损害了性能。但是你不能切换去使用一个字典,因为你需要这个序列的顺序。
The o (n) behavior of repeated in operators hurts performance, but you can't switch to using just a dictionary, as you also need the sequence's order.
应用推荐