BenchmarkGoCall 200000000 9.00 ns/op BenchmarkCgoCall 1000000 2302 ns/op
2 microseconds to call into C. Ouch. (That's on a 680MHz 24Kc core with 32kB data cache. I'm not complaining, merely noticing.) -- 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.