Skip to content

Instantly share code, notes, and snippets.

@rcoh rcoh/gist:3153369
Created Jul 20, 2012

Embed
What would you like to do?
view vs. non view
def nonview = (1 to 5000000).map(_ % 10).filter(_ > 5).reduce(_ + _)
def view = (1 to 5000000).view.map(_ % 10).filter(_ > 5).reduce(_ + _)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.