Quellcode durchsuchen

Updates the account meta size used by the hashing bench (#7558)

Brooks vor 3 Monaten
Ursprung
Commit
35ed2235d5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      accounts-db/benches/bench_hashing.rs

+ 1 - 1
accounts-db/benches/bench_hashing.rs

@@ -26,7 +26,7 @@ const DATA_SIZES: [usize; 6] = [
 ///
 ///
 /// Ensure this constant stays in sync with the value of `META_SIZE` in
 /// Ensure this constant stays in sync with the value of `META_SIZE` in
 /// AccountsDb::hash_account_helper().
 /// AccountsDb::hash_account_helper().
-const META_SIZE: usize = 81;
+const META_SIZE: usize = 73;
 
 
 fn bench_hash_account(c: &mut Criterion) {
 fn bench_hash_account(c: &mut Criterion) {
     let lamports = 123_456_789;
     let lamports = 123_456_789;