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.
Please register or sign in to comment
This is very similar to the optimization applied to dictGetRandomKeys, but applied to the single key variant. Related to issue #2306.