On Wed, Aug 28, 2013 at 6:25 AM, Bennie Kloosteman <[email protected]>wrote:

> It would be nice if immutable shallow types are interred in the special
> heap where the  mark doesnt scan like strings but i doubt thats possible.
>  Also the above is not possible in safe C# ( because of the fixed array)
>

Oh. Yes I do. You mean "intern" rather than "interred". Yes, there are a
number of applications in which interned strings are a good idea, but
perhaps not as many as you imagine. Unfortunately, the Object class in CLR
and Java has mutable fields (notably the lock word), so the interning of
strings is semantically visible.
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to