typed_python icon indicating copy to clipboard operation
typed_python copied to clipboard

Compiled 'Dict' should resize the table in compiled code

Open braxtonmckee opened this issue 5 years ago • 0 comments

right now we resize the hashtable in the interpreter, which is much slower. This is just a performance optimization we have not done. We should provide compiled forms of both _resizeTableUnsafe and _compressItemTableUnsafe. _allocateNewSlotUnsafe can probably stay the way it is since it's just memory allocation.

braxtonmckee avatar Jan 16 '20 00:01 braxtonmckee