Stop using "Int" for microsecond delays in "base"
qdunkan at gmail.com
Wed Mar 30 21:29:27 CEST 2011
On Wed, Mar 30, 2011 at 12:15 PM, Edward Kmett <ekmett at gmail.com> wrote:
> Of course, in this particular case, worrying about the overhead of
> manipulating an Integer when you are in the process of jumping through the
> hoops to put your thread to sleep is somewhat silly. ;)
Yes, but that's only because the conversation has gotten off track. I
was answering the question "are Ints good for anything beyond the
FFI?" which was raised as a result of the thread delay thing. Sorry
Integer sounds reasonable enough for threadDelay.
More information about the Libraries