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

Top 9.0% on proxy.golang.org

proxy.golang.org : github.com/icza/xmap

Package xmap provides a hashmap implementation that uses custom, user-defined eq() and hash() functions for equality checks and hash calculation. The implementation is not safe for concurrent use. Performance depends on how fast the provided eq() and hash() functions are. The implementation minimizes calls on the hash() function by caching hashes. Cached hashes are also used to minimize `eq()` calls. As a result, for simple types xmap outperforms Go's builtin map significantly (see BenchmarkIntMap). For complex types and inefficient hash() functions, performance will be worse. This package is experimental and is not production ready yet.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/icza/xmap
License: Apache-2.0
Latest release: almost 3 years ago
First release: almost 3 years ago
Namespace: github.com/icza
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/icza
Last synced: 7 months ago

    Loading...
    Readme
    Loading...