Streams: Cost of creation and destruction

Hi,

What´s the overhead of creating and destroying streams? E.g. is it a clever idea to create and destroy streams twice or three times every second? Or would it be better to create a few streams, use it through the lifetime of the application and then destroy it in the end?

At the moment it seems that it would ease my application design if I could do the former (Creating and destroy a few streams a few times every second).

Thanks,
Georg

Stream creation/destruction is a lightweight operation. You will observe no measurable difference in doing so several times a second.