We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
“在这里注意到 goto again 语句,结合上下文可得若正在进行扩容,就会不断地进行迁移。待迁移完毕后才会开始进行下一次的扩容动作”这句话是不是有点问题呀?
if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) { hashGrow(t, h) goto again // Growing the table invalidates everything, so try again }
这里goto again不应该是用来重复一遍扩容前的操作吗?如果已经再扩容了,根本就不会走到这段代码的呀
The text was updated successfully, but these errors were encountered:
No branches or pull requests
“在这里注意到 goto again 语句,结合上下文可得若正在进行扩容,就会不断地进行迁移。待迁移完毕后才会开始进行下一次的扩容动作”这句话是不是有点问题呀?
这里goto again不应该是用来重复一遍扩容前的操作吗?如果已经再扩容了,根本就不会走到这段代码的呀
The text was updated successfully, but these errors were encountered: