20260418 优化去掉冗余存储repo object,mix quick最快170s
This commit is contained in:
@@ -197,8 +197,7 @@ fn main() -> Result<(), String> {
|
||||
} else if let Some(raw_store_db) = raw_store_db.as_ref() {
|
||||
ExternalRawStoreDb::open(raw_store_db)
|
||||
.ok()
|
||||
.and_then(|store| store.get_raw_entry(&hash).ok().flatten())
|
||||
.map(|entry| entry.bytes)
|
||||
.and_then(|store| store.get_blob_bytes(&hash).ok().flatten())
|
||||
} else {
|
||||
None
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user