lua-users home
lua-l archive

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


It's not enough, because the time stamp is send by other process not
written in lua. The protocol define it is the int64 number.

在 2012年4月12日 上午2:05,Xavier Wang <weasley.wx@gmail.com> 写道:
> in this case, 56bit should be enough.
>
> 在 2012年4月12日 上午1:34,云风 <cloudwu@gmail.com> 写道:
>> We use int64 for a timestamp from outside ( read from a socket with
>> the protocol) , and we need preform arithmetic on it.
>>
>> 在 2012年4月11日 下午9:14,Xavier Wang <weasley.wx@gmail.com> 写道:
>>> and then you can put it into a string.
>>>
>>> 在 2012-4-11 晚上8:05,"steve donovan" <steve.j.donovan@gmail.com>写道:
>>>
>>>> On Wed, Apr 11, 2012 at 1:42 PM, Alex Queiroz <asandroq@gmail.com> wrote:
>>>> > Unless it's possible to create the IDs consecutively starting from 1.
>>>>
>>>> But they often come from outside, and Outside has its own logic ;)
>>>>
>>>> steve d.
>>>>
>>>
>>
>>
>>
>> --
>> http://blog.codingnow.com
>>
>



-- 
http://blog.codingnow.com