Optimize stream visitor
Relates to #165 (closed).
This is a small optimization, but this code is executed hundreds of time a second, so it adds up.
Relates to #165 (closed).
This is a small optimization, but this code is executed hundreds of time a second, so it adds up.