chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Re: sqlite3 egg patches for chicken experimental bra


From: Felix
Subject: Re: [Chicken-users] Re: sqlite3 egg patches for chicken experimental branch
Date: Thu, 13 Jan 2011 05:11:53 -0500 (EST)

From: Jim Ursetto <address@hidden>
Subject: Re: [Chicken-users] Re: sqlite3 egg patches for chicken experimental 
branch
Date: Wed, 12 Jan 2011 23:16:21 -0600

> On Wed, Jan 5, 2011 at 21:05, Thomas Chust <address@hidden> wrote:
>> the patch replacing noop by void is fine, of course. Concerning the
>> change of thread-sleep!/ms I have the same doubts as you: It should
>> really be possible to sleep less than a second waiting for database
>> locks, so the computation inside thread-sleep!/ms would have to be
>> changed to return a floating point number.
> 
> I am wondering why milliseconds->time is deprecated in the first
> place.  The internal #<time> object stores times in milliseconds
> itself, so to simulate milliseconds->time, we have to do a floating
> point division by 1000 just to have Chicken multiply it back by 1000.
> What is the justification for that?

Do you see this as a performance problem? Somehow, the milliseconds
operations appear to be redundant, since seconds is the more natural
(to me) time-unit. Probably this was a mistake.


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]