4 ms·
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-si
by dyu- 10y ago
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)