<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-23 19:03 GMT+02:00 tim Rowledge <span dir="ltr"><<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oh surely we can come up with something even crazier? How about for the 64bit layout having the bottom 24bits be the character and the top 39 be a pseudo pointer to the next char in the string?<br>
<br></blockquote><div><br></div><div>Note that you somehow have that with UTF8, the number of bits set in the character (if > 127) indicates the position of the next char already ;)<br></div><div>It's thus a pseudo pointer (relative).<br>
</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
/tim<br>
{insert witticism here}<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> What about making WideString the only one?<br>
><br>
> *duckandcover*<br>
><br>
><br>
><br>
>> /tim<br>
>> {insert witticism here}<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>