MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / computesizes

Function computesizes

CPPScripts/External/Lua/ltable.c:389–408  ·  view source on GitHub ↗

** Compute the optimal size for the array part of table 't'. 'nums' is a ** "count array" where 'nums[i]' is the number of integers in the table ** between 2^(i - 1) + 1 and 2^i. 'pna' enters with the total number of ** integer keys in the table and leaves with the number of keys that ** will go to the array part; return the optimal size. (The condition ** 'twotoi > 0' in the for loop stops the l

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

rehashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected