Most of the time was spent copying a dict to filter out sentinel values that indicated that keys did not exist in the dict. The sentinel values were added to ensure that we cached the non-existence of keys. By updating DictionaryCache to keep track of which keys were known to not exist itself we can remove a dictionary copy. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| descriptors.py | ||
| dictionary_cache.py | ||
| expiringcache.py | ||
| lrucache.py | ||
| response_cache.py | ||
| snapshot_cache.py | ||
| stream_change_cache.py | ||
| treecache.py | ||