lua-users home
lua-l archive

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

On Sat, Nov 29, 2008 at 4:28 PM, Paul Sheer <> wrote:
> But all high-level languages *should* have proper dynamic strings.

> Basically, all programmers expect that a = a .. b should be efficient.

You know python, java, and C# have immutable strings, too? Your all is
a bit limited. :-)

> Well I just joined this list to post my patch because it was useful to me
> and my commercial product.

And now you know that your patch may wreak havoc if you use those strings
for table keys, or in comparisons, or for new strings that have the
same hash value.

But it works for your app, and you didn't have to write the rest of
lua from scratch. Cool.