count sequentially
计数顺序
以上为机器翻译结果,长、整句建议使用 人工翻译 。
An implementation of size would have to sequentially acquire the lock for each bucket, count the number of nodes in that bucket, and release the lock and move on to the next bucket.
size的实现将不得不依次获取各个bucket的锁,对该bucket中的节点进行计数,释放锁,然后继续到下一个bucket。
youdao
应用推荐
模块上移
模块下移
不移动