summaryrefslogtreecommitdiff
path: root/test/files/run/streams.check
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2008-04-02 14:11:46 +0000
committerIulian Dragos <jaguarul@gmail.com>2008-04-02 14:11:46 +0000
commit2facac90e8c3cae5cbe29a55835c69847d270a40 (patch)
tree37fd17257109a8fef3ece98f2fcb9d1e3bf8d78b /test/files/run/streams.check
parent66515781fa9823e200779e5d53aa244e46e22f02 (diff)
downloadscala-2facac90e8c3cae5cbe29a55835c69847d270a40.tar.gz
scala-2facac90e8c3cae5cbe29a55835c69847d270a40.tar.bz2
scala-2facac90e8c3cae5cbe29a55835c69847d270a40.zip
Changed Stream implementation to use tail recur...
Changed Stream implementation to use tail recursive calls directly, instead of tail-recursive local functions. This has better GC behavior, see ticket #692.
Diffstat (limited to 'test/files/run/streams.check')
-rw-r--r--test/files/run/streams.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/streams.check b/test/files/run/streams.check
index 5346c73d12..7f894052d9 100644
--- a/test/files/run/streams.check
+++ b/test/files/run/streams.check
@@ -17,3 +17,9 @@ Stream()
999
512
+100000
+Stream(100001, ?)
+Stream(100001, ?)
+true
+true
+705082704