Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17 from yangyang233333/sst_reader
Browse files Browse the repository at this point in the history
修改注释
  • Loading branch information
yangyang233333 authored Feb 17, 2023
2 parents 0e502a8 + ba8aef8 commit e3aff05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/cache/lru.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ namespace smallkv {
* 这里LockType是锁的类型,默认情况为NullLock即为无锁,
* 可以传入三种锁:NullLock、MutexLock、SpinLock
*
* 为什么不在运行时判断?例如if (LockType == "mutex_lock") lock.
* 答:运行时if存在开销。
* */
template<typename K, typename V, typename LockType = NullLock>
class LRU final : public CachePolicy<K, V> {
Expand Down

0 comments on commit e3aff05

Please sign in to comment.