I looked at the k-nucleotide program, and was unable to figure out a way
to make it faster.
Most of the time appears to be spent on this one line:
pointer, ok := counts[key]
pprof reports:
19080ms 56.50% 56.50% 22100ms 65.44% runtime.mapaccess2_fast64
This is, of course, exactly what the test is suppose to be checking -
the speed of the built in map. Anyone else have any insight?
Eric.
On 8/30/16 3:46 PM, Michael Jones wrote:
I looked at that this morning and sped it up a little.
*From: *'Isaac Gouy' via golang-nuts <golang-nuts@googlegroups.com>
*Reply-To: *Isaac Gouy <igo...@yahoo.com>
*Date: *Tuesday, August 30, 2016 at 12:15 PM
*To: *golang-nuts <golang-nuts@googlegroups.com>
*Subject: *[go-nuts] Re: In case you missed it: language benchmarks
for Go 1.7, and language adoption
On Tuesday, August 30, 2016 at 10:09:39 AM UTC-7, Scott Pakin wrote:
Go 1.7 is faster than C on the mandelbrot test and faster than
C++ also on reverse-complement? How did /that/ happen?
mandelbrot -- look at the program source code.
--
You received this message because you are subscribed to the Google
Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to golang-nuts+unsubscr...@googlegroups.com
<mailto:golang-nuts+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/golang-nuts/dyq3z5dWqrc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
golang-nuts+unsubscr...@googlegroups.com
<mailto:golang-nuts+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.