Yea it was a toy example. Still the overhead is steep for applications that call c ffi often.
The workaround is usually to batch your computations on the c-side (micro-rpc) and minimize the calls (like cockroachdb is doing)
The workaround is usually to batch your computations on the c-side (micro-rpc) and minimize the calls (like cockroachdb is doing)
No comments yet.