Refactor status cache and remove complex serialize/deserialize (#5335)

automerge
This commit is contained in:
Sagar Dhawan
2019-08-06 18:47:30 -07:00
committed by Grimes
parent 72e9492ca6
commit 9dcf3347f5
7 changed files with 428 additions and 431 deletions

View File

@@ -28,6 +28,6 @@ fn test_statuscache_serialize(bencher: &mut Bencher) {
}
}
bencher.iter(|| {
let _ = serialize(&status_cache).unwrap();
let _ = serialize(&status_cache.slot_deltas(&vec![0])).unwrap();
});
}