lua-users home
lua-l archive

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

> >make up a story that includes a user in a real-world scenario hitting
> >this edge case. Is there a story that could be imagined that includes
> >how this may be exploited by a nefarious user?
> One of the only reasons I've personally used floats for table keys has
> been for memoization, where a table is used to cache results of (a
> presumably expensive) calculation. Having different input values return
> the same cache slot would be wrong, and likely very hard to debug.

I don't think your story matches the problem. There is no
confusion at all between different floats, but between floats and

-- Roberto