[V3/permissions] Performance improvements (#1885)

* basic caching layer

* bit more work, now with an upper size to the cache

* cache fix

* smarter cache invalidation

* One more cache case

* Put in a bare skeleton of something else still needed

* more logic handling improvements

* more work, still not finished

* mass-resolve is done in theory, but needs testing

* small bugfixin + comments

* add note about before/after hooks

* LRU-dict fix

* when making comments about optimizations, provide historical context

* fmt pass
This commit is contained in:
Michael H
2018-07-11 20:56:08 -04:00
committed by Kowlin
parent 461f03aac0
commit 3d6020b9cf
5 changed files with 248 additions and 29 deletions

1
.github/CODEOWNERS vendored
View File

@@ -24,6 +24,7 @@ redbot/core/utils/mod.py @palmtree5
redbot/core/utils/data_converter.py @mikeshardmind
redbot/core/utils/antispam.py @mikeshardmind
redbot/core/utils/tunnel.py @mikeshardmind
redbot/core/utils/caching.py @mikeshardmind
# Cogs
redbot/cogs/admin/* @tekulvw