An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.3% on proxy.golang.org

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

    Loading...
    Readme
    Loading...