File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ opt-level = 'z'
77lto = true
88codegen-units = 1
99panic = ' abort'
10+ strip = true
Original file line number Diff line number Diff line change @@ -86,11 +86,8 @@ impl MMKV {
8686 Initialize the MMKV instance with a writeable directory,
8787 absolute or relative paths are acceptable.
8888
89- All API calls(except [set_logger](MMKV::set_logger), [set_log_level](MMKV::set_log_level))
90- before initialization will panic.
91-
92- Calling [initialize](MMKV::initialize) multiple times is allowed,
93- the old instance will be closed (see [close](MMKV::close)), the last call will take over.
89+ Calling [new](MMKV::new) multiple times with same parameter `dir` will get different MMKV
90+ instances share the same mmap, it's safe to call get or put concurrently on these instances.
9491
9592 If enabled feature "encryption", additional param `key` is required,
9693 the key should be a hexadecimal string of length 16, for example:
You can’t perform that action at this time.
0 commit comments