<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">&lt;<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>&gt;</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 &gt; 127) indicates the position of the next char already ;)<br></div><div>It&#39;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>
&gt;<br>
&gt; What about making WideString the only one?<br>
&gt;<br>
&gt; *duckandcover*<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt; /tim<br>
&gt;&gt; {insert witticism here}<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div></div>