Hacker News new | past | comments | ask | show | jobs | submit login

According to this old SO comment[0] JNI calls on x86_64 have an overhead of about 6ns.

On my machine (2010 MBP @ 2.4GHz), cgo calls have an overhead of ~120ns.

[0] https://stackoverflow.com/questions/13973035/what-is-the-qua...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: