repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git]
/
extra
/
benchmark
/
continuations
/
continuations.factor
blob
4e113d86d3cc20b5a76747f7aea2d91c891cd0a5
1
USING: math kernel continuations ;
2
IN: benchmark.continuations
3
4
: continuations-main ( -- )
5
100000 [ drop [ continue ] callcc0 ] each-integer ;
6
7
MAIN: continuations-main