Skip to content

reduce CGO overhead for passing values

Compare
Choose a tag to compare
@AskAlexSharov AskAlexSharov released this 13 Jun 03:04
· 14 commits to master since this release
4c86898
No pointer optimisation txn (#142)

* added valNP (no pointer value) argument to Txn obj tp increase performance (see GetFast for more details)

* replace txn.Get with txn.GetFast realization

* change type of txn.val from *C.MDBX_val to C.MDBX_val

* no longer takes pointer from env val

---------

Co-authored-by: Ilya Miheev <[email protected]>