lua-users home
lua-l archive

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




> I think using a pointer to hold the string data would be better then
> putting the data into a continuous TString structure.

One advantage of putting the string data in a contiguous structure is that it avoids having to go through an additional layer of pointer indirection to read the string contents.

But to be honest, I don't know how much that matters in practice. That's an interesting question.