Skip to content

kochetkov-av/golang-map-insights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some insights on Maps in Golang

Examples used in the article https://hackernoon.com/some-insights-on-maps-in-golang-rm5v3ywh

The article covers the internal structure of the Golang maps implementation. This implementation can be changed from version to version. That's why this code works only on a limited number of Golang versions.

The easiest way to run them is with Docker:

docker run --rm -it -v $(pwd):/app golang:1.13.10 go run /app/random.go
docker run --rm -it -v $(pwd):/app golang:1.13.10 go run /app/grow.go
docker run --rm -it -v $(pwd):/app golang:1.13.10 go run /app/spread.go
docker run --rm -it -v $(pwd):/app golang:1.13.10 go run /app/presizes.go
docker run --rm -it -v $(pwd):/app golang:1.13.10 go run /app/delete.go

Each example in detail explained in the article.

About

Material for the article "Some insights on Maps in Golang"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages