3 ms·
To give some context, rstring rep is like an expanded Pascal rep with more metadata. rstrings allow nearly free substrings if string data is immutable. IIRC thi
by swingline-747 8y ago
To give some context, rstring rep is like an expanded Pascal rep with more metadata. rstrings allow
nearly free substrings if string data is immutable. IIRC this is similar to what Java uses for string-table constants (CONSTANT_Utf8_info).
For historical context, a string rep besides ASCIIZ / charZ (NUL-terminated) was dollar-terminated used by DOS.
Pascal would store a byte length at the head of a string to indicate it's length.