Declare that the keys are integers. In the read txn, as the value read is not modified and does not escape the txn, switch to using the GetVal and BytesNoCopy functions to avoid taking copies of the values all the time. It really does go faster this way...
Declare that the keys are integers. In the read txn, as the value read is not modified and does not escape the txn, switch to using the GetVal and BytesNoCopy functions to avoid taking copies of the values all the time. It really does go faster this way...

msackman/gomdb