dict.c: don't try buckets that are empty for sure in dictGetRandomKey().
This is very similar to the optimization applied to dictGetRandomKeys, but applied to the single key variant. Related to issue #2306.
Showing
想要评论请 注册 或 登录
This is very similar to the optimization applied to dictGetRandomKeys, but applied to the single key variant. Related to issue #2306.