Golang Key Value Array Python Memory