[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] Re: script with go routine is fastest the second time

2020-01-21 Thread Brian Candler
Could it be that the files from disk are "hot" in cache on the second run? Try emptying the cache before the second run. Linux: sync; echo 3 > /proc/sys/vm/drop_caches -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this gr