summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-03-16 14:51:20 +0100
committerMichał Górny <mgorny@gentoo.org>2021-03-16 17:42:16 +0100
commita677ccd2966d9c9cb9458586eaacee33055896b2 (patch)
tree2bb3e8d1ff02b9d6842877b34511ea376d823217 /dev-haskell/text-short
parentmedia-fonts/ja-ipafonts: EAPI-7 bump (diff)
downloadgentoo-a677ccd2966d9c9cb9458586eaacee33055896b2.tar.gz
gentoo-a677ccd2966d9c9cb9458586eaacee33055896b2.tar.bz2
gentoo-a677ccd2966d9c9cb9458586eaacee33055896b2.zip
*/*: Normalize metadata.xml files
Normalize quoting, replace '>' with entities, replace unnecessary entities, remove trailing empty lines. Done via: find -name metadata.xml -exec xml ed -P -L -d //none {} + Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-haskell/text-short')
-rw-r--r--dev-haskell/text-short/metadata.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-haskell/text-short/metadata.xml b/dev-haskell/text-short/metadata.xml
index 02b8c54225a2..4284ddcbdb5c 100644
--- a/dev-haskell/text-short/metadata.xml
+++ b/dev-haskell/text-short/metadata.xml
@@ -9,8 +9,8 @@
<flag name="asserts">Enable runtime-checks via 'assert'</flag>
</use>
<longdescription>
- This package provides the &#39;ShortText&#39; type which is suitable for keeping many short strings in memory. This is similiar to how &#39;ShortByteString&#39; relates to &#39;ByteString&#39;.
+ 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 &#39;Text&#39; and &#39;ShortText&#39; is that &#39;ShortText&#39; uses UTF-8 instead of UTF-16 internally and also doesn&#39;t support zero-copy slicing (thereby saving 2 words). Consequently, the memory footprint of a (boxed) &#39;ShortText&#39; value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload.
+ The main difference between 'Text' and 'ShortText' is that 'ShortText' uses UTF-8 instead of UTF-16 internally and also doesn't support zero-copy slicing (thereby saving 2 words). 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.
</longdescription>
</pkgmetadata>