Avoid consing in SLEEP.
authorStas Boukarev <stassats@gmail.com>
Sun, 2 Jun 2013 20:15:33 +0000 (00:15 +0400)
committerStas Boukarev <stassats@gmail.com>
Sun, 2 Jun 2013 20:15:33 +0000 (00:15 +0400)
commitf962bad9a3dcfa165fe359e60be48c636a1622ec
tree90ea4a6eeac27067aca7140cda39db906681f733
parentac405df3f196d58f6a5a2003afd8f48f490300df
Avoid consing in SLEEP.

Try to compute seconds without consing, when the arguments are small
enough (in the fixnum range).

Add a transform to go directly to sb-unix:nanosleep when possible.
NEWS
src/code/toplevel.lisp
src/compiler/srctran.lisp