pijul nest
guest [sign in]

A few optional storable types

pmeunier
Sep 7, 2021, 3:27 PM
3CKCVBXTNSYJIQL5P35V5NHM7C7BQZCSGO7OZMGBZRUUVIQHAZAAC

Dependencies

  • [2] R27IKHPA Checking equality when we delete
  • [3] LK2C7EU4 More (optional) impls for direct_repr!
  • [4] E4MD6T3L Proofreading and commenting of this crate (massive bug fixes included)
  • [5] OFINGD26 implementing prev() on cursors (+ some cleanup)
  • [6] OP6SVMOD Resetting history
  • [7] WS4ZQM4R Debugging, tests, etc.
  • [8] OTWDDJE7 Trait/type cleanup
  • [9] EYNN7RLS Tests++ (including UUID)
  • [10] APPY2E7M Unsized deletions + custom sizes back
  • [11] 6DMPXOAT More debugging
  • [12] QYDGYIZR Split trait Representable into its mandatory part and an optional part
  • [13] TSMS6W4D Fully commented implementation of Sized nodes + massive cleanup
  • [14] T73WR2BX Cleaner RC increments for keys and values containing references + more comments in `del`
  • [15] 6UVFCERM Formatting, debugging, etc.
  • [16] W2MIZD5B Single file databases + CRC for the root pages (checking the other pages makes everything very slow)
  • [17] OHUZ73MK Versions
  • [18] QEUTVAZ4 Splitting btree::page
  • [19] DASFQGOR Debugging
  • [*] UAQX27N4 Tests
  • [*] YXKP4AIW New file locks, with multiple sets of free pages

Change contents

  • edit in ""sanakirja-core/src/btree/put.rs"" at line 4
    [4.3963]
    [4.107]
  • replacement in ""sanakirja-core/src/btree/put.rs"" at line 32
    [4.360][4.2078:2168]()
    K: Storable + ?Sized + core::fmt::Debug,
    V: Storable + ?Sized + core::fmt::Debug,
    [4.360]
    [4.460]
    K: Storable + ?Sized,
    V: Storable + ?Sized,
  • replacement in ""sanakirja-core/src/btree/put.rs"" at line 101
    [4.525][4.2169:2259]()
    K: Storable + ?Sized + core::fmt::Debug,
    V: Storable + ?Sized + core::fmt::Debug,
    [4.525]
    [4.625]
    K: Storable + ?Sized,
    V: Storable + ?Sized,
  • replacement in ""sanakirja-core/src/btree/del.rs"" at line 81
    [4.53268][4.31233:31281](),[4.31281][4.6581:6638](),[4.6638][2.0:57](),[2.57][4.15929:15975](),[4.2279][4.15929:15975](),[4.11790][4.15929:15975](),[4.15929][4.15929:15975]()
    T: AllocPage + LoadPage + core::fmt::Debug,
    K: Storable + ?Sized + core::fmt::Debug + PartialEq,
    V: Storable + ?Sized + core::fmt::Debug + PartialEq,
    P: BTreeMutPage<K, V> + core::fmt::Debug,
    [4.53268]
    [4.53396]
    T: AllocPage + LoadPage,
    K: Storable + ?Sized + PartialEq,
    V: Storable + ?Sized + PartialEq,
    P: BTreeMutPage<K, V>,
  • replacement in ""sanakirja-core/src/btree/del.rs"" at line 110
    [4.53725][4.31370:31418](),[4.31418][4.6639:6696](),[4.6696][4.11836:11881](),[4.11836][4.11836:11881](),[4.2380][4.16086:16132](),[4.11881][4.16086:16132](),[4.16086][4.16086:16132]()
    T: AllocPage + LoadPage + core::fmt::Debug,
    K: Storable + ?Sized + core::fmt::Debug + PartialEq,
    V: Storable + ?Sized + core::fmt::Debug,
    P: BTreeMutPage<K, V> + core::fmt::Debug,
    [4.53725]
    [4.53853]
    T: AllocPage + LoadPage,
    K: Storable + ?Sized + PartialEq,
    V: Storable + ?Sized,
    P: BTreeMutPage<K, V>,
  • replacement in ""sanakirja-core/src/btree/del.rs"" at line 287
    [4.2952][4.19335:19381](),[4.12025][4.19335:19381](),[4.19335][4.19335:19381]()
    P: BTreeMutPage<K, V> + core::fmt::Debug,
    [4.12025]
    [4.61937]
    P: BTreeMutPage<K, V>,
  • replacement in ""sanakirja-core/src/btree/del.rs"" at line 643
    [4.38211][4.38211:38259](),[4.38259][4.12132:12222](),[4.3790][4.23454:23500](),[4.12222][4.23454:23500](),[4.23454][4.23454:23500]()
    T: AllocPage + LoadPage + core::fmt::Debug,
    K: Storable + ?Sized + core::fmt::Debug,
    V: Storable + ?Sized + core::fmt::Debug,
    P: BTreeMutPage<K, V> + core::fmt::Debug,
    [4.38203]
    [4.38396]
    T: AllocPage + LoadPage,
    K: Storable + ?Sized,
    V: Storable + ?Sized,
    P: BTreeMutPage<K, V>,
  • edit in ""sanakirja-core/Cargo.toml"" at line 43
    [3.686]
    log = "*"
  • replacement in ""sanakirja/src/tests.rs"" at line 1174
    [4.1248][4.1248:1340]()
    create_db_::<MutTxn<&Env, ()>, uuid::Bytes, u64, P<uuid::Bytes, u64>>(&mut txn)
    [4.1248]
    [4.1340]
    create_db_::<MutTxn<&Env, ()>, uuid_::Bytes, u64, P<uuid_::Bytes, u64>>(&mut txn)
  • replacement in ""sanakirja/src/tests.rs"" at line 1181
    [4.1474][4.1474:1519]()
    let uuid = uuid::Uuid::new_v4();
    [4.1474]
    [4.1519]
    let uuid = uuid_::Uuid::new_v4();
  • edit in ""sanakirja/Cargo.toml"" at line 24
    [22.5511]
    [4.108614]
    ed25519 = [ "sanakirja-core/ed25519" ]
    std = [ "sanakirja-core/std" ]
    uuid = [ "sanakirja-core/uuid" ]
  • replacement in ""sanakirja/Cargo.toml"" at line 44
    [4.20928][4.226:274](),[4.226][4.226:274]()
    uuid = { version = "0.8", features = [ "v4" ] }
    [4.20928]
    [4.7187]
    uuid_ = { name = "uuid", version = "0.8", features = [ "v4" ] }