MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / lookdict

Function lookdict

Objects/dictobject.c:319–396  ·  view source on GitHub ↗

The basic lookup function used by all operations. This is based on Algorithm D from Knuth Vol. 3, Sec. 6.4. Open addressing is preferred over chaining since the link overhead for chaining would be substantial (100% with typical malloc overhead). The initial probe index is computed as hash mod the table size. Subsequent probe indices are computed as explained earlier. All arithmetic on hash shoul

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

lookdict_stringFunction · 0.85

Calls 1

PyObject_RichCompareBoolFunction · 0.85

Tested by

no test coverage detected