Closed buybackoff closed 6 years ago
See https://github.com/Spreads/Spreads.LMDB/commit/dc5f383a719add5e591af55492edce888c0cda5d
Need to rewrite native methods using calli via UnsafeEx.Calli[signature]. Perf gain could be in the order of 10% for read methods. Maybe more for simple ones where P/Invoke cost dominates.
calli
UnsafeEx.Calli[signature]
This is not safe and perf gain is not so great to bother.
See https://github.com/Spreads/Spreads.LMDB/commit/dc5f383a719add5e591af55492edce888c0cda5d
Need to rewrite native methods using
calli
viaUnsafeEx.Calli[signature]
. Perf gain could be in the order of 10% for read methods. Maybe more for simple ones where P/Invoke cost dominates.