|
Early drafts of
þ docs appear first on this page before moving to
better final resting places.
vectors
A vector in þ is an array with physically contiguous elements, and is generally denoted with a suffix of v (for vector). The term array however means a possibly discontiguous scatter/gather sequence of elements denoted with suffix a (for array). So array and vector are synonymous, but vector is more specific, implying contiguity. In practice, arrays and vectors are different physical representations, but array internals are likely to use contiguous vectors for component scatter/gather parts. A class suffix of v means "I'm a C vector" and a suffix of a means "I'm accessed by array index, but I'm generally discontiguous." |
thorn « Þ + todo + names + fd + iovec + assert « Þ + log + run + hex + crc + buf + in + out + quote + escape + compare + file + deck + cow + arc + blob + tree + slice + arc + blob + tree + rand + time + stat + hash + heap + node + primes + page + book + pile + stack + atomic + lock + mutex + thread + map + meter + list + iter + ctype |