My plan is to take the hashing code used for Deadwood's cache, and adapt it to be usable for the simpler cache used for upstream_servers and other dictionary variables:
- This is a variable sized dictionary, not a fixed-sized cache. This in mind, I need to add the ability to grow the dictionary as more elements are added to it, and not use any code that removes elements as the cache fills up.
- There is no ability to remove elements from the hash, just add elements
- Hash entries do not expire; once an entry is in the hash, it stays in the hash