aboutsummaryrefslogtreecommitdiff
path: root/docs/optionals.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-01-02 16:24:07 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-01-02 16:24:07 -0500
commitbe384c0caa92cb152c264125fb265373e6a50440 (patch)
treeb823fb0dd4cfec643670236688a2a7ca76787d7b /docs/optionals.md
parent2fcf1939bb295887592c1f24f7b8fbb10efcfcba (diff)
Replace threads with generic mutexed datastructures.
Diffstat (limited to 'docs/optionals.md')
-rw-r--r--docs/optionals.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/optionals.md b/docs/optionals.md
index 56b7ba16..84f886b7 100644
--- a/docs/optionals.md
+++ b/docs/optionals.md
@@ -127,9 +127,9 @@ for line in lines:
## Implementation Notes
The implementation of optional types is highly efficient and has no memory
-overhead for pointers, collection types (arrays, sets, tables, channels),
-booleans, texts, enums, nums, or integers (`Int` type only). This is done by
-using carefully chosen values, such as `0` for pointers, `2` for booleans, or a
+overhead for pointers, collection types (arrays, sets, tables), booleans,
+texts, enums, nums, or integers (`Int` type only). This is done by using
+carefully chosen values, such as `0` for pointers, `2` for booleans, or a
negative length for arrays. However, for fixed-size integers (`Int64`, `Int32`,
`Int16`, and `Int8`), bytes, and structs, an additional byte is required for
out-of-band information about whether the value is none or not.