Gozala/streamer — Issue #7: flattening stream of many empty streams ends with stack overflow
Author: Gozala
Created: 2012-01-31 02:04:13+00:00
State: open

It's quite strange but for some reason flattening stream of many empty streams causes stack overflow:

```js
print(flatten(streamer.take(10240, streamer.repeat(Stream.empty))))
```

What's even more strange that flattening same amount of non empty streams does not causes stack overflow:

```js
print(flatten(streamer.take(10240, streamer.repeat(Stream.of(1)))))

```