lovro 8a46ecd357 WriteBatch::Put() overload that gathers key and value from arrays of slices
Summary: In our project, when writing to the database, we want to form the value as the concatenation of a small header and a larger payload.  It's a shame to have to copy the payload just so we can give RocksDB API a linear view of the value.  Since RocksDB makes a copy internally, it's easy to support gather writes.

Test Plan: write_batch_test, new test case

Reviewers: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D13947
2013-11-08 16:34:32 -08:00
..
2013-10-30 10:52:33 -07:00
2013-10-30 10:52:33 -07:00
2013-10-28 17:54:09 -07:00
2013-11-08 15:23:46 -08:00
2013-10-28 17:54:09 -07:00
2013-11-08 15:23:46 -08:00
2013-11-08 15:23:46 -08:00
2013-11-08 15:23:46 -08:00
2013-10-28 17:54:09 -07:00
2013-10-25 08:32:14 -07:00
2013-11-07 15:46:48 -08:00
2013-11-08 15:23:46 -08:00
2013-11-08 15:23:46 -08:00