[ trixie ]
[ sid ]
[ ソース: golang-github-wk8-go-ordered-map ]
パッケージ: golang-github-wk8-go-ordered-map-dev (2.1.8-2)
golang-github-wk8-go-ordered-map-dev に関するリンク
Debian の資源:
golang-github-wk8-go-ordered-map ソースパッケージをダウンロード:
- [golang-github-wk8-go-ordered-map_2.1.8-2.dsc]
- [golang-github-wk8-go-ordered-map_2.1.8.orig.tar.gz]
- [golang-github-wk8-go-ordered-map_2.1.8-2.debian.tar.xz]
メンテナ:
外部の資源:
- ホームページ [github.com]
類似のパッケージ:
- golang-github-bmatsuo-lmdb-go-dev
- libcommons-collections4-java
- libcommons-collections3-java
- golang-github-invopop-jsonschema-dev
- golang-nhooyr-websocket-dev
- libconcurrentqueue-dev
- golang-github-mostynb-go-grpc-compression-dev
- python3-borgstore
- libtsl-ordered-map-dev
- golang-github-tendermint-go-wire-dev
- golang-github-go-viper-mapstructure-dev
Optimal implementation of ordered maps for Golang (Go library)
Golang Ordered Maps
Same as regular maps, but also remembers the order in which keys were inserted, akin to Python's collections.OrderedDicts: https://docs.python.org/3.7/library/collections.html#ordereddict-objects
It offers the following features:
* optimal runtime performance (all operations are constant time) * optimal memory usage (only one copy of values, no unnecessary memory allocation) * allows iterating from newest or oldest keys indifferently, without memory copy, allowing to break the iteration, and in time linear to the number of keys iterated over rather than the total length of the ordered map * supports any generic types for both keys and values. If you're running go < 1.18, you can use version 1 (https://github.com/wk8/go- ordered-map/tree/v1) that takes and returns generic interface{}s instead of using generics * idiomatic API, akin to that of container/list (https://golang.org/pkg/container/list) * support for JSON and YAML marshalling
Documentation
The full documentation is available on pkg.go.dev: https://pkg.go.dev/github.com/wk8/go-ordered-map/v2
その他の golang-github-wk8-go-ordered-map-dev 関連パッケージ
|
|
|
|
-
- dep: golang-github-bahlo-generic-list-go-dev
- Go container/list but with generics (library)
-
- dep: golang-github-buger-jsonparser-dev
- fast schemaless JSON parser for Go
-
- dep: golang-github-mailru-easyjson-dev
- Fast JSON serializer for golang - development files
-
- dep: golang-github-stretchr-testify-dev
- sacred extension to the standard Go testing package
-
- dep: golang-gopkg-yaml.v3-dev
- YAML support for the Go language