55
edits
m (→Rationale) |
m (→Design Goals) |
||
| Line 1: | Line 1: | ||
=== Design Goals === | === Design Goals === | ||
Currently, Tamarin-Tracing strings are UTF-8. As much as these are desirable in terms of memory consumption, index access and other functions are unbearably slow. | |||
The design goals for the new StringObject class are | |||
# Fixed-width strings with fixed widths of 8, 16 and 32 bits. Widths are either automatic (based on UTF-8 input), or manual (as created). | # Fixed-width strings with fixed widths of 8, 16 and 32 bits. Widths are either automatic (based on UTF-8 input), or manual (as created). | ||
#* 8-bit strings contain the first Unicode 256 characters. UTF-8 is not supported in strings. | #* 8-bit strings contain the first Unicode 256 characters. UTF-8 is not supported in strings. | ||
edits