lua-users home
lua-l archive

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


> > The compiler would still create all those small strings and keep
> > them alive, as they are constants in the code.
> 
> Too bad... couldn't it infer that they're not referred anywere?
> (just out of curiosity, I'm definitely not an expert on this)

I guess the "keep them alive" part is easier to solve. But the creation
of the small strings seems difficult to avoid, as the strings must be
kept somewhere until the folding takes place.

-- Roberto