proxy.golang.org : github.com/TomTonic/objectsize
Package objectsize implements run-time calculation of size of an object (-tree) in Go. The source code is based on the "binary.Size()" function from Go standard library. size.Of() omits size of slices, arrays and maps containers itself (24, 24 and 8 bytes). When counting maps separate calculations are done for keys and values.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/%21tom%21tonic/objectsize
License: MIT
Latest release: about 1 year ago
First release: about 1 year ago
Namespace: github.com/TomTonic
Last synced: 9 days ago