[ drop call-effect-slow ]
if ; inline
-\ call-effect [
- inline-cache new '[
- _
- 3dup nip cache-hit? [
- drop call-effect-unsafe
- ] [
- call-effect-fast
- ] if
- ]
-] 0 define-transform
+: call-effect-ic ( quot effect inline-cache -- )
+ 3dup nip cache-hit?
+ [ drop call-effect-unsafe ]
+ [ call-effect-fast ]
+ if ; inline
+
+: call-effect>quot ( -- quot )
+ inline-cache new '[ _ call-effect-ic ] ;
+
+\ call-effect [ call-effect>quot ] 0 define-transform
\ call-effect t "no-compile" set-word-prop
\ execute-effect [ execute-effect>quot ] 1 define-transform
-\ execute-effect t "no-compile" set-word-prop
\ No newline at end of file
+\ execute-effect t "no-compile" set-word-prop