projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b29d28d
)
Integrate PROMISE?.
author
Taylor R Campbell
<campbell@mumble.net>
Sun, 6 Jan 2019 04:17:06 +0000
(
04:17
+0000)
committer
Taylor 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
patch
|
blob
|
history
diff --git
a/src/runtime/boot.scm
b/src/runtime/boot.scm
index 9c963f04c4121f7742a1a9773aacfad79f8651aa..4315f4dfe294d401902bf197f895da4c8b44ff8f 100644
(file)
--- a/
src/runtime/boot.scm
+++ b/
src/runtime/boot.scm
@@
-436,6
+436,7
@@
USA.
\f
;;;; Promises
+(declare (integrate-operator promise?))
(define (promise? object)
(and (cell? object)
(cell? (cell-contents object))