Integrate PROMISE?.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 6 Jan 2019 04:17:06 +0000 (04:17 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Mon, 7 Jan 2019 08:11:37 +0000 (08:11 +0000)
Small but measurable speed improvement, getting to diminishing
returns after a nearly 7x speed increase on promise-heavy stream
code.

src/runtime/boot.scm

index 9c963f04c4121f7742a1a9773aacfad79f8651aa..4315f4dfe294d401902bf197f895da4c8b44ff8f 100644 (file)
@@ -436,6 +436,7 @@ USA.
 \f
 ;;;; Promises
 
+(declare (integrate-operator promise?))
 (define (promise? object)
   (and (cell? object)
        (cell? (cell-contents object))