[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: boolean operators
- From: roberto@... (Roberto Ierusalimschy)
- Date: Fri, 22 Sep 2006 15:28:34 -0300
> So, on the one hand, I think short strings are useful for a variety of
> things -- and I could see them making a noticeable improvement in GC speed
> -- and with respect to this thread they do a lot to enable a general purpose
> bitset library, but shifting the implementation to use short strings makes
> the C API noticeably harder to code against in practice even if the spec
> essentially allows it.
Although the garbage collector does not move things, the stack may be
reallocated. That would change the address of a short string...