| 1 | Source: golang-github-dghubble-trie |
| 2 | Section: golang |
| 3 | Priority: optional |
| 4 | Maintainer: Daniel Baumann <[email protected]> |
| 5 | Build-Depends: |
| 6 | debhelper-compat (= 13), |
| 7 | dh-sequence-golang, |
| 8 | dpkg-build-api (= 1), |
| 9 | golang-any, |
| 10 | Standards-Version: 4.7.0 |
| 11 | Homepage: https://github.com/dghubble/trie |
| 12 | Vcs-Browser: https://forgejo.debian.net/golang/golang-github-dghubble-trie |
| 13 | Vcs-Git: https://forgejo.debian.net/golang/golang-github-dghubble-trie |
| 14 | Testsuite: autopkgtest-pkg-go |
| 15 | XS-Go-Import-Path: github.com/dghubble/trie |
| 16 | |
| 17 | Package: golang-github-dghubble-trie-dev |
| 18 | Section: golang |
| 19 | Architecture: all |
| 20 | Multi-Arch: foreign |
| 21 | Depends: |
| 22 | ${misc:Depends}, |
| 23 | Description: Fast, zero heap allocation Go Trie for runes or paths (library) |
| 24 | Package trie implements rune-wise and path-wise Tries |
| 25 | (https://en.wikipedia.org/wiki/Trie) optimized for Get performance and |
| 26 | to allocate 0 bytes of heap memory (i.e. garbage) per Get. |
| 27 | . |
| 28 | A typical use case is to perform any Put or Delete operations upfront to |
| 29 | populate the trie, then perform Get operations very quickly. The Tries |
| 30 | do not synchronize access (not thread-safe). |
| 31 | . |
| 32 | When Tries are chosen over maps, it is typically for their space |
| 33 | efficiency. However, in situations where direct key lookup is not |
| 34 | possible (e.g. routers), tries can provide faster lookups and avoid key |
| 35 | iteration. |