Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 17th, 2018
66
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
function complicated(x)
# long and complicated computation
x^2
end
function run()
results = []
for i in 1:4
push!(results, @spawn complicated(3))
end
return mean(results)
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
лаба 11
C++ | 4 min ago | 10.86 KB
Food Stocks
CSS | 30 min ago | 0.76 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
calculate the difference between two times in...
PHP | 1 hour ago | 1.97 KB
02. Mi Vida A Tu Lado | Cronología
HTML | 1 hour ago | 13.76 KB
rot_all
Python | 2 hours ago | 4.86 KB
Gerenciador de Senhas
Python | 2 hours ago | 6.84 KB
ESP32 OTA...
C++ | 2 hours ago | 3.00 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!