Skip to content

jptboy/goconcurrency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Getting sum of numbers from 0 to 42953672940 and timing it using

  • 1 thread
  • or 20 go routines

20 go routines ends up being 7 times faster

a go routine is like a thread

Command to run

sudo docker-compose up --build

or if you have go, clone inside your ~/go/src directory

go build && ./concur

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published