mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove redundant words in comment (#12997)
Signed-off-by: hishope <csqiye@126.com>
This commit is contained in:
@ -1413,7 +1413,7 @@ enum MDBX_env_flags_t {
|
||||
* \ref mdbx_env_set_syncbytes() and \ref mdbx_env_set_syncperiod() functions
|
||||
* could be very useful with `MDBX_SAFE_NOSYNC` flag.
|
||||
*
|
||||
* The number and volume of of disk IOPs with MDBX_SAFE_NOSYNC flag will
|
||||
* The number and volume of disk IOPs with MDBX_SAFE_NOSYNC flag will
|
||||
* exactly the as without any no-sync flags. However, you should expect a
|
||||
* larger process's [work set](https://bit.ly/2kA2tFX) and significantly worse
|
||||
* a [locality of reference](https://bit.ly/2mbYq2J), due to the more
|
||||
@ -2079,7 +2079,7 @@ enum MDBX_option_t {
|
||||
* for all processes interacting with the database.
|
||||
*
|
||||
* \details This defines the number of slots in the lock table that is used to
|
||||
* track readers in the the environment. The default is about 100 for 4K
|
||||
* track readers in the environment. The default is about 100 for 4K
|
||||
* system page size. Starting a read-only transaction normally ties a lock
|
||||
* table slot to the current thread until the environment closes or the thread
|
||||
* exits. If \ref MDBX_NOTLS is in use, \ref mdbx_txn_begin() instead ties the
|
||||
@ -3343,7 +3343,7 @@ mdbx_limits_txnsize_max(intptr_t pagesize);
|
||||
* \ingroup c_settings
|
||||
*
|
||||
* \details This defines the number of slots in the lock table that is used to
|
||||
* track readers in the the environment. The default is about 100 for 4K system
|
||||
* track readers in the environment. The default is about 100 for 4K system
|
||||
* page size. Starting a read-only transaction normally ties a lock table slot
|
||||
* to the current thread until the environment closes or the thread exits. If
|
||||
* \ref MDBX_NOTLS is in use, \ref mdbx_txn_begin() instead ties the slot to the
|
||||
|
||||
@ -56,7 +56,7 @@ pub enum SyncMode {
|
||||
/// flag could be used with [`Environment::sync()`](crate::Environment::sync) as alternatively
|
||||
/// for batch committing or nested transaction (in some cases).
|
||||
///
|
||||
/// The number and volume of of disk IOPs with [`SyncMode::SafeNoSync`] flag will exactly the
|
||||
/// The number and volume of disk IOPs with [`SyncMode::SafeNoSync`] flag will exactly the
|
||||
/// as without any no-sync flags. However, you should expect a larger process's work set
|
||||
/// and significantly worse a locality of reference, due to the more intensive allocation
|
||||
/// of previously unused pages and increase the size of the database.
|
||||
|
||||
Reference in New Issue
Block a user