• I
    Get rid of some shared_ptrs · 043fc14c
    Igor Canadi 提交于
    Summary:
    I went through all remaining shared_ptrs and removed the ones that I found not-necessary. Only GenerateCachePrefix() is called fairly often, so don't expect much perf wins.
    
    The ones that are left are accessed infrequently and I think we're fine with keeping them.
    
    Test Plan: make asan_check
    
    Reviewers: dhruba, haobo
    
    Reviewed By: dhruba
    
    CC: leveldb
    
    Differential Revision: https://reviews.facebook.net/D14427
    043fc14c
write_batch_test.cc 7.5 KB