mirror of https://github.com/k3d-io/k3d
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
787 B
19 lines
787 B
# go4.org/intern [![Go Reference](https://pkg.go.dev/badge/go4.org/intern.svg)](https://pkg.go.dev/go4.org/intern)
|
|
|
|
## What
|
|
|
|
Package intern lets you make smaller comparable values by boxing a larger comparable value (such as a string header) down into a single globally unique pointer.
|
|
|
|
Docs: https://pkg.go.dev/go4.org/intern
|
|
|
|
## Status
|
|
|
|
This package is mature and stable. However, it depends on the implementation details of the Go runtime. Use with care.
|
|
|
|
This package is a core, low-level package with no substantive dependencies.
|
|
|
|
We take code review, testing, dependencies, and performance seriously, similar to Go's standard library or the golang.org/x repos.
|
|
|
|
## Motivation
|
|
|
|
Package intern was initially created for [package inet.af/netaddr](https://pkg.go.dev/inet.af/netaddr).
|
|
|