Open Bnaya opened 4 years ago
When creating hashmap, when check if keys already exists even thu it's guaranteed to be not, because we use hashMapInsertUpdateKeyIsPointerReturnNode and not dedicated function
hashMapInsertUpdateKeyIsPointerReturnNode
https://github.com/Bnaya/objectbuffer/blob/develop/src/internal/hashmap/hashmap.ts#L89-L95
Also maybe avoid re-hash on creation if it comes to re balance.
When creating hashmap, when check if keys already exists even thu it's guaranteed to be not, because we use
hashMapInsertUpdateKeyIsPointerReturnNode
and not dedicated functionhttps://github.com/Bnaya/objectbuffer/blob/develop/src/internal/hashmap/hashmap.ts#L89-L95
Also maybe avoid re-hash on creation if it comes to re balance.