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:
4e24616
)
Integrate %promise-parts.
author
Taylor R Campbell
<campbell@mumble.net>
Thu, 3 Jan 2019 16:23:05 +0000
(16:23 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Fri, 4 Jan 2019 07:08:14 +0000
(07:08 +0000)
Shaves another 20% off time for test-promise.scm.
src/runtime/boot.scm
patch
|
blob
|
history
diff --git
a/src/runtime/boot.scm
b/src/runtime/boot.scm
index 86e46598928625566de06267f548994db0f9511d..68e62a00ea2bec51b92e0db1e6115f136cccd226 100644
(file)
--- a/
src/runtime/boot.scm
+++ b/
src/runtime/boot.scm
@@
-444,7
+444,7
@@
USA.
;(guarantee thunk? thunk 'make-unforced-promise)
(make-cell (make-cell (system-pair-cons (ucode-type delayed) #f thunk))))
-(define (%promise-parts promise)
+(define
-integrable
(%promise-parts promise)
(let ((p (cell-contents (cell-contents promise))))
(values (system-pair-car p)
(system-pair-cdr p))))