[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: sqlite3 egg patches for chicken experimental bra
Re: [Chicken-users] Re: sqlite3 egg patches for chicken experimental branch
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?