[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Managing Unicode (UTF-8 and UTF-16) data in Lua
- From: Paul Moore <p.f.moore@...>
- Date: Sat, 6 Aug 2016 14:17:39 +0100
On 5 August 2016 at 22:48, Soni L. <email@example.com> wrote:
> You can't make it interoperate with plain Lua strings. (e.g. no __key
> metamethod, etc)
OK, that's the important fact I needed, thanks for the pointer. Not
being able to substitute my type for a string when indexing would be a
pain, so it's not going to be worth doing.
On 6 August 2016 at 10:28, steve donovan <firstname.lastname@example.org> wrote:
> Sure, there will be some overhead, but might be useful to measure the
> impact before designing around a problem which isn't a problem.
Oh, sure, there's no doubt this is a massive case of premature
optimisation :-) It was more that it seemed like an interesting
problem to look at than a real need.