lua-users home
lua-l archive

Re: caching pointers to Lua strings?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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
code.
Josh

AltStyle によって変換されたページ (->オリジナル) /