Fix typos in README

This commit is contained in:
Martchus 2022-01-18 22:37:17 +01:00
parent 826637167c
commit 156e01f15d
1 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ transaction is aborted automatically. To commit or abort, use `commit()` or
LMDB is so fast because it does not copy data unless it really needs to. LMDB is so fast because it does not copy data unless it really needs to.
Memory bandwidth is a huge determinant of performance on modern CPUs. This Memory bandwidth is a huge determinant of performance on modern CPUs. This
wrapper agrees, and using modern C++ makes it possible to seemlessly use wrapper agrees, and using modern C++ makes it possible to seamlessly use
'views' on data without copying them. Using these techniques, the call to 'views' on data without copying them. Using these techniques, the call to
`txn.put()` sets the "lmdb" string to "great", without making additional `txn.put()` sets the "lmdb" string to "great", without making additional
copies. copies.
@ -134,8 +134,8 @@ For example, to store `double` values for 64 bit IDs:
``` ```
Behind the scenes, the `id` and `score` values are wrapped by `MDBInVal` Behind the scenes, the `id` and `score` values are wrapped by `MDBInVal`
which converts these values into byte strings. To retrieve thise values which converts these values into byte strings. To retrieve these values
works similary: works similarly:
``` ```
auto txn = env->getRWTransaction(); auto txn = env->getRWTransaction();