lua-users home
lua-l archive

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

On 19 November 2015 at 15:26, Philipp Janda <> wrote:
> Am 19.11.2015 um 02:01 schröbte Daurnimator:
>> The caching in upvalues for type() is a nice touch
> Actually the upvalue trick is reverted in this release (presumably because
> the string caching is good enough?).

Oops; I read that bit of the diff backwards.

>> Why does ltablib.c now `#include <time.h>`
> Because `clock()` and `time()` are used to find a pivot element for sorting.

Ah, somehow I missed that. This seems a poor choice....
Could this be made configurable via moving to llimits.h?