Repository navigation
fix a bug that double int hashmap memory allocation - #18738
Conversation
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
fix a bug that double int hashmap memory allocation Approved by: @XuPeng-SH, @m-schen
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #18150
What this PR does / why we need it:
fix a bug that double int hashmap memory allocation
PR Type
Bug fix
Description
Int64HashMapimplementation where the memory allocation size was incorrectly set tostrCellSizeinstead ofintCellSize.InitandResizeOnDemandmethods to ensure correct memory allocation.Changes walkthrough 📝
int64_hash_map.go
Fix memory allocation size in Int64HashMappkg/container/hashtable/int64_hash_map.go
strCellSizetointCellSize.InitandResizeOnDemandmethods.