.NET on a string + bugs
Steven Schveighoffer
schveiguy at yahoo.com
Tue Mar 17 11:33:48 PDT 2009
On Tue, 17 Mar 2009 13:29:59 -0400, bearophile <bearophileHUGS at lycos.com>
wrote:
> Steven Schveighoffer:
>> I had a hackish scheme to use the most significant bit in the length
>> field to identify if a slice is just beyond the allocated length.<
>
> Such bit may also be stored in the pointer, if they are aligned to 8 or
> 16 bytes.
That will affect the GC when it is scanning for pointers.
-Steve
More information about the Digitalmars-d
mailing list