[go-nuts] Re: script with go routine is fastest the second time

2020-01-22 Thread jpofmars
I try on Linux and It seems that you are right. For information I use the package biogo/hts and the "problem" happens when I use the function NewChunkReader who takes file position and retrieve data from the big file (bgzipped). Thank you for your answer. Le mardi 21 janvier 2020 14:40:33 UTC+

[go-nuts] script with go routine is fastest the second time

2020-01-21 Thread jpofmars
Hi everybody, I develop a script which parse a file and foreach row I perform several treatment who need to use an index to access at a file. Foreach row I create a goroutine. the number of goroutine is limited to 8 by using the package from "github.com/korovkin/limiter" and GOMAXPROC=8 For eac