Hacker News new | ask | show | jobs
by b2gills 586 days ago
That's nothing, use it to calculate the sum of range of values

  say [+] 1..10000000000000000000000000000000000000000000
Which will result in you getting this back in a fraction of a second

50000000000000000000000000000000000000000005000000000000000000000000000000000000000000

(It actually cheats because that particular operator gets substituted for `sum` which knows how to calculate the sum of a Range object.)