nessos / Streams

A lightweight F#/C# library for efficient functional-style pipelines on streams of data.
http://nessos.github.io/Streams/
Other
381 stars 46 forks source link

docs: improve code readability showing perf gains #45

Open knocte opened 8 years ago

knocte commented 8 years ago

Two improvements here:

  1. It's better to show the slowest first.
  2. It's better to not 'open Nessos.Streams', and use the namespace explicitly. It took me a minute to wrap my head around this code, so I think with these 2 improvements, other will understand it a bit better the first time they read it.
knocte commented 8 years ago

I've now used type aliasing instead, should be clearer and not so repetitive.