Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
runtime swiss maps
158 views
Skip to first unread message
Leah Stapleton
unread,
Aug 17, 2024, 4:56:06 PM
8/17/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Hi,
The code in the map_swiss.go and map_noswiss.go is virtually the same.
Have the swiss tables been implemented yet?
https://github.com/golang/go/blob/master/src/runtime/map_swiss.go
https://github.com/golang/go/blob/master/src/runtime/map_noswiss.go
There is nothing in the map_swiss.go files about the empty or deletedSlots discussed here
https://go-review.googlesource.com/c/go/+/426614/12/src/runtime/map.go#59
emptySlot uint8 = 0b1111_1111
deletedSlot uint8 = 0b1000_0000
Message has been deleted
Keith Randall
unread,
Aug 17, 2024, 11:53:30 PM
8/17/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
There is an implementation in progress. For the most part it has not been checked in yet.
There is a stack of CLs starting at
https://go-review.git.corp.google.com/c/go/+/582415
Reply all
Reply to author
Forward
0 new messages