Badcache with multiple locks.
Previously badcache used one single mutex for everything, which was causing performance issues. Use one global rwlock for the whole hashtable and per-bucket mutexes.
Edited by Witold Krecicki
Previously badcache used one single mutex for everything, which was causing performance issues. Use one global rwlock for the whole hashtable and per-bucket mutexes.