just bump the clock rate to 3ghz and you'll reduce the cgo call cost
to reasonable values :D
On Thu, Feb 15, 2018 at 11:29 AM, Dave Cheney wrote:
> cgo is not go.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this
cgo is not go.
--
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/opto
BenchmarkGoCall 29.00 ns/op
BenchmarkCgoCall 100 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 sub