зеркало из https://github.com/mozilla/gecko-dev.git
c411b93c35
Configure the lmdb-rkv-sys Rust crate to use a smaller MDB_IDL_LOGN size in order to reduce allocations when opening an LMDB environment in read-write mode. @glandium I adopted the configuration strategy you suggested of creating a "feature" for each reasonable value for the MDB_IDL_LOGN macro. Fortunately, the range of reasonable values is fairly small. @nanj Based on your evalution in https://github.com/mozilla/lmdb/pull/2, a value of "9" for this macro should aggressively reduce the allocations while still supporting our existing use cases. But I'm open to increasing it, if you think a higher initial value would be preferable. Differential Revision: https://phabricator.services.mozilla.com/D27559 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
aom | ||
dav1d | ||
msgpack | ||
prio | ||
python | ||
rust | ||
webkit/PerformanceTests | ||
moz.build |