From: Lloyd Linklater Date: 2007-05-08T07:12:12+09:00 Subject: Re: 10 millisecond delay/callback Paul Brannan wrote: > def every(period) # see above for the code > end > > Which I've tested using this code: > > n = 0 > every(0.01) do > puts Time.now.usec / 1000 > n += 1 > break if n == 25 > end I do have to say that, given what this code does and the time in which it runs, saying that ruby just cannot run fast is silly. I am very glad to have seen this thread! -- Posted via http://www.ruby-forum.com/.