Skip to content

Commit 8b05ab2

Browse files
authored
docs: fix typos (#2478)
1 parent aa24a8f commit 8b05ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vm/src/modules/in_memory_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::{Size, VmError, VmResult};
1111
// Based on `examples/module_size.sh`, and the cosmwasm-plus contracts.
1212
// We use an estimated *minimum* module size in order to compute a number of pre-allocated entries
1313
// that are enough to handle a size-limited cache without requiring re-allocation / resizing.
14-
// This will incurr an extra memory cost for the unused entries, but it's negligible:
14+
// This will incur an extra memory cost for the unused entries, but it's negligible:
1515
// Assuming the cost per entry is 48 bytes, 10000 entries will have an extra cost of just ~500 kB.
1616
// Which is a very small percentage (~0.03%) of our typical cache memory budget (2 GB).
1717
const MINIMUM_MODULE_SIZE: Size = Size::kibi(250);

0 commit comments

Comments
 (0)