You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.
When running the time benchmarks while evaluating the performance of #52 some exceptions and errors for the other collection types occurred.
The time benchmarks was in this case run with:
charts -f 1 -bm avgt -bs 1 -w 100ms -r 500ms -to 30s -t max -wi 10 -i 10
The exceptions encountered where:
LazyListBenchmark.foldLeft
for sizes 1, 7, 17, 282, 7890:java.util.NoSuchElementException: next on empty iterator
LazyListBenchmark.foldRight
for sizes 1, 7, 17, 282:java.util.NoSuchElementException: next on empty iterator
LazyListBenchmark.foreach
for sizes 1, 17:java.util.NoSuchElementException: next on empty iterator
LazyListBenchmark.uncons
for size 1:java.util.NoSuchElementException: next on empty iterator
The errors encountered where:
LazyListBenchmark.foldLeft
for size 32911:java.lang.StackOverflowError
LazyListBenchmark.foldRight
for size 32911:java.lang.StackOverflowError
ListBenchmark.uncons
for size 1, 7890, 32911:java.lang.StackOverflowError
ListBenchmark.foldLeft
for sizes 7890, 32911:java.lang.StackOverflowError
ListBenchmark.foldRight
for size 7890, 32911:java.lang.StackOverflowError
ArrayBufferBenchmark.foldLeft
for sizes 7890, 32911:java.lang.StackOverflowError
ArrayBufferBenchmark.foldRight
for sizes 7890, 32911:java.lang.StackOverflowError
ListBufferBenchmark.foldLeft
for sizes 7890, 32911:java.lang.StackOverflowError
ListBufferBenchmark.foldRight
for sizes 7890, 32911:java.lang.StackOverflowError
The stack overflow errors could be avoided by increasing the stack size (while a tail recursive implementation would avoid the problem altogether).
The text was updated successfully, but these errors were encountered: