go4.org/intern@v0.0.0-20230525184215-6c62f75575cb/README.md (about) 1 # go4.org/intern [](https://pkg.go.dev/go4.org/intern) 2 3 ## What 4 5 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. 6 7 Docs: https://pkg.go.dev/go4.org/intern 8 9 ## Status 10 11 This package is mature and stable. However, it depends on the implementation details of the Go runtime. Use with care. 12 13 This package is a core, low-level package with no substantive dependencies. 14 15 We take code review, testing, dependencies, and performance seriously, similar to Go's standard library or the golang.org/x repos. 16 17 ## Motivation 18 19 Package intern was initially created for [package inet.af/netaddr](https://pkg.go.dev/inet.af/netaddr).