next.js
7e7c9b05 - Remove redundant Arc<TurboPersistence> in TurboKeyValueDatabase

Commit
69 days ago
Remove redundant Arc<TurboPersistence> in TurboKeyValueDatabase The inner Arc was not load-bearing: TurboWriteBatch only borrows the database to call TurboPersistence methods, so a plain &TurboPersistence works. The db.clone() in new() existed only to read is_empty() before the move; reorder to read it from the local first.
Author
Parents
Loading