Open
Description
Proposal Details
In function mapaccess2_faststr
and mapaccess2_faststr
, I think we can add follow code in dohash
block to decrease the search in bucket & over flow buckets.
if b.tophash[i] == emptyRest {
return unsafe.Pointer(&zeroVal[0])
}
Position:
go/src/runtime/map_faststr_noswiss.go
Line 98 in 5276107
I am pleasure to change it if you think it is good.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo