<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/internal/runtime/maps/table_debug.go, branch makepkg</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=makepkg</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=makepkg'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-09-11T00:40:53Z</updated>
<entry>
<title>internal/runtime/maps: remove redundant package docs</title>
<updated>2025-09-11T00:40:53Z</updated>
<author>
<name>xieyuschen</name>
<email>xieyuschen@gmail.com</email>
</author>
<published>2025-09-09T15:08:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2009e6c596551673ebb12050daa30171171cb432'/>
<id>urn:sha1:2009e6c596551673ebb12050daa30171171cb432</id>
<content type='text'>
This CL removes redundant package docs comments under different files
as all of them will be shown in pkgsite.

As of now, package docs 'Package maps implements Go's builtin map type'
appears 3 times in pkgsite.

See: https://pkg.go.dev/internal/runtime/maps

Change-Id: I2f0696dd4f860afea5cc346532bca59135bec798
Reviewed-on: https://go-review.googlesource.com/c/go/+/702135
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Mark Freeman &lt;markfreeman@google.com&gt;
</content>
</entry>
<entry>
<title>all: remove redundant Swiss prefixes</title>
<updated>2025-07-30T18:47:17Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2025-07-29T17:58:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=82a1921c3b6b493c4ff358f063c2ffffabba9fd5'/>
<id>urn:sha1:82a1921c3b6b493c4ff358f063c2ffffabba9fd5</id>
<content type='text'>
Now that there is only one map implementation we can simplify names.

For #54766.

Change-Id: I6a6a636cc6a8fc5e7712c27782fc0ced7467b939
Reviewed-on: https://go-review.googlesource.com/c/go/+/691596
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>internal/runtime/maps: use uintptr instead of uint32 for index in group</title>
<updated>2024-10-30T15:22:32Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2024-10-14T19:05:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0b652e3ef6413b343d0e7ee38a58f1cc15c933f6'/>
<id>urn:sha1:0b652e3ef6413b343d0e7ee38a58f1cc15c933f6</id>
<content type='text'>
This avoids some zero-extension ops on 64-bit machines.

Based on khr@'s CL 619479.

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-swissmap
Change-Id: Ie9a56da26382dc9e515c613abc8cf6fec3767671
Reviewed-on: https://go-review.googlesource.com/c/go/+/620216
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
</content>
</entry>
<entry>
<title>internal/runtime/maps: cleanup seed usage</title>
<updated>2024-10-30T15:20:52Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2024-09-23T18:46:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d95b7980aa1ef94983983cd98e005947e83d562d'/>
<id>urn:sha1:d95b7980aa1ef94983983cd98e005947e83d562d</id>
<content type='text'>
Keep only a single seed; initialize it; and reset it when the map is
empty.

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-swissmap
Change-Id: Icc231f70957337a2d0dcd9c7daf9bd3cb4354d71
Reviewed-on: https://go-review.googlesource.com/c/go/+/616466
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile,runtime: add indirect key/elem to swissmap</title>
<updated>2024-10-30T15:11:27Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2024-09-17T22:00:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b5fec2cf54ff9f7b562cb904a2a025266aec2763'/>
<id>urn:sha1:b5fec2cf54ff9f7b562cb904a2a025266aec2763</id>
<content type='text'>
We use the same heuristics as existing maps.

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-swissmap
Change-Id: I44bb51483cae2c1714717f1b501850fb9e55a39a
Reviewed-on: https://go-review.googlesource.com/c/go/+/616461
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>internal/runtime/maps: remove type fields</title>
<updated>2024-10-29T18:54:17Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2024-08-21T20:17:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ed035af7b7d7c1cd2e6f852e22a9b04fc2a2cc65'/>
<id>urn:sha1:ed035af7b7d7c1cd2e6f852e22a9b04fc2a2cc65</id>
<content type='text'>
Rather than storing the same type pointer in multiple places, just pass
it around.

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-swissmap
Change-Id: Ia6c74805c7a44125ae473177b317f16c6688e6de
Reviewed-on: https://go-review.googlesource.com/c/go/+/622377
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile,internal/runtime/maps: add extendible hashing</title>
<updated>2024-10-21T14:16:20Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2024-08-07T17:02:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d94b7a187685942579e7d7dc00bf58448cdafce8'/>
<id>urn:sha1:d94b7a187685942579e7d7dc00bf58448cdafce8</id>
<content type='text'>
Extendible hashing splits a swisstable map into many swisstables. This
keeps grow operations small.

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-ppc64_power10,gotip-linux-amd64-longtest-swissmap
Change-Id: Id91f34af9e686bf35eb8882ee479956ece89e821
Reviewed-on: https://go-review.googlesource.com/c/go/+/604936
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
</content>
</entry>
<entry>
<title>all: wire up swisstable maps</title>
<updated>2024-10-14T19:58:47Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2024-05-03T17:03:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c39bc22c141bc6990e4e2abf604dcf56669ff779'/>
<id>urn:sha1:c39bc22c141bc6990e4e2abf604dcf56669ff779</id>
<content type='text'>
Use the new SwissTable-based map in internal/runtime/maps as the basis
for the runtime map when GOEXPERIMENT=swissmap.

Integration is complete enough to pass all.bash. Notable missing
features:

* Race integration / concurrent write detection
* Stack-allocated maps
* Specialized "fast" map variants
* Indirect key / elem

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-ppc64_power10,gotip-linux-amd64-longtest-swissmap
Change-Id: Ie97b656b6d8e05c0403311ae08fef9f51756a639
Reviewed-on: https://go-review.googlesource.com/c/go/+/594596
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>internal/runtime/maps: initial swiss table map implementation</title>
<updated>2024-10-08T16:43:52Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2024-04-22T19:48:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0733682e5ff4cd294f5eccb31cbe87a543147bc6'/>
<id>urn:sha1:0733682e5ff4cd294f5eccb31cbe87a543147bc6</id>
<content type='text'>
Add a new package that will contain a new "Swiss Table"
(https://abseil.io/about/design/swisstables) map implementation, which
is intended to eventually replace the existing runtime map
implementation.

This implementation is based on the fabulous
github.com/cockroachdb/swiss package contributed by Peter Mattis.

This CL adds an hash map implementation. It supports all the core
operations, but does not have incremental growth.

For #54766.

Change-Id: I52cf371448c3817d471ddb1f5a78f3513565db41
Reviewed-on: https://go-review.googlesource.com/c/go/+/582415
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
</feed>
