mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 08:34:19 +01:00
Merge pull request #131 from seonWKim/fix-typos
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
///
|
||||
/// The first page is special because it contains a 100 byte header at the beginning.
|
||||
///
|
||||
/// Each page constists of a page header and N cells, which contain the records.
|
||||
/// Each page consists of a page header and N cells, which contain the records.
|
||||
///
|
||||
/// +-----------------+----------------+---------------------+----------------+
|
||||
/// | | | | |
|
||||
@@ -38,7 +38,7 @@ pub const DATABASE_HEADER_SIZE: usize = 100;
|
||||
// DEFAULT_CACHE_SIZE negative values mean that we store the amount of pages a XKiB of memory can hold.
|
||||
// We can calculate "real" cache size by diving by page size.
|
||||
const DEFAULT_CACHE_SIZE: i32 = -2000;
|
||||
// Minimun number of pages that cache can hold.
|
||||
// Minimum number of pages that cache can hold.
|
||||
pub const MIN_PAGE_CACHE_SIZE: usize = 10;
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user