<HTML><BODY><p>> (define a #"abcd")<br>> (define a0 (cast (cast a _bytes _pointer) _pointer _bytes))<br>> (eq? a a0)<br>#f<br>> (bytes-set! a0 2 33)<br>> a<br>#"ab!d"<br>> (immutable? a)<br>#t</p><div>So I have two different objects with the same pointer. Will garbage collector work correct in this situation? <br>I mean, it should see two reference to the same object in memory. <br>Or it will try to collect the bytestring when 'a' will become inaccessible?</div><br>-- <br>Roman Klochkov</BODY></HTML>