So the faster iteration makes up for the slower mutation and provides better concurrency because multiple threads can iterate the list simultaneously.

 
  • 所以更快的迭代可以补偿较慢的变化过程,并提供更好的并发性,因为多个线程可以同时迭代列表。
今日热词
目录 附录 查词历史