This package provides the ShortText type which is suitable for keeping many short strings in memory. This is similiar to how ShortByteString relates to ByteString. The main difference between Text and ShortText is that ShortText doesn't support zero-copy slicing (thereby saving 2 words), and, compared to text-1.*, that it uses UTF-8 instead of UTF-16 internally. Consequently, the memory footprint of a (boxed) ShortText value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload.
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 10.0 | aarch64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 10.0 | aarch64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 10.0 | x86_64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 10.0 | x86_64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 10.0 | x86_64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 9.0 | aarch64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 9.0 | aarch64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 9.0 | aarch64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 9.0 | x86_64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 9.0 | x86_64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 9.0 | x86_64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 9.3 | x86_64 | hs-text-short-0.1.5nb6.tgz |
NetBSD 9.3 | x86_64 | hs-text-short-0.1.5nb6.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.