[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: caching pointers to Lua strings?
- From: Josh Haberman <jhaberman@...>
- Date: Fri, 10 Jun 2011 17:03:27 +0000 (UTC)
Mike Pall <mikelu-1106 <at> mike.de> writes:
> Since I pondered over implementing a moving GC, I've come to the
> conclusion that this guarantee does not lead itself to a practical
> implementation, though.
I'm tempted to take that as license to assume that my
strings will not move. In the unlikely case that some
future Lua implementation does move strings around
unless they are on the stack, I'll have to change my