// Internally simple cache uses a RWMutex instead of the exclusive Mutex that LRU cache uses.
// The RWMutex makes simple cache readable by many threads without introducing lock contention.
if opts == nil {
opts = &SimpleOptions{}
}
iterateList: list.New(),
accessMap: make(map[any]*list.Element),
rmFunc: opts.RemovedFunc,
}
}