From 99dc9b8b69a9c0a3eaa5c6e5b9dc1f74c14da1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=BE=B7=E6=BB=A1?= Date: Tue, 23 Feb 2021 22:49:06 +0800 Subject: [PATCH] =?UTF-8?q?add=20segment=20=E5=BE=85=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- easymap/segment.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 easymap/segment.go diff --git a/easymap/segment.go b/easymap/segment.go new file mode 100644 index 0000000..1a234ec --- /dev/null +++ b/easymap/segment.go @@ -0,0 +1,11 @@ +// Package easymap... +// +// Description : 分段存储的map,并发行更好,分段数量为 1, 将退化成普通的 +// +// Author : go_developer@163.com<张德满> +// +// Date : 2021-02-23 10:47 下午 +package easymap + +type segment struct { +}