[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.3.2 (rc1) now available
- From: Patrick Donnelly <batrick@...>
- Date: Tue, 24 Nov 2015 10:47:15 -0500
On Tue, Nov 24, 2015 at 12:21 AM, Coda Highland <email@example.com> wrote:
> That said, clock() alone is sufficient, so time() could be cached on
> startup, which would cut the number of syscalls in half.
time() is the least costly of the two. At least on Linux, time() is
simply a memory access not a system call .