MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / stringInterner

Struct stringInterner

buffer.go:14–16  ·  view source on GitHub ↗

stringInterner provides efficient string deduplication for categorical data

Source from the content-addressed store, hash-verified

12
13// stringInterner provides efficient string deduplication for categorical data
14type stringInterner struct {
15 pool sync.Map // map[string]string for concurrent access
16}
17
18// newStringInterner creates a new string interner
19func newStringInterner() *stringInterner {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected