Guest User

Untitled

a guest
Nov 30th, 2016
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. object ScalaTest extends App {
  2.   val t0 = System.nanoTime()
  3.   val fact = (BigInt(2) to 100000).par.product
  4.   val t1 = System.nanoTime()
  5.   println(fact)
  6.   println("Elapsed time: " + (t1 - t0) * 1e-9 + " sec")
  7. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×