1. 18 Aug, 2020 1 commit
    • Sean McGivern's avatar
      Memoize $name_includes? methods for set caches · e2fd3240
      Sean McGivern authored
      RepositoryCacheAdapter.cache_method_as_redis_set defines two methods:
      
      1. `$name` - for getting the whole set.
      2. `$name_include?` - for checking membership of an individual item.
      
      The first was already memoized. The second wasn't, but can be, and that
      will save some round-trips for what should be a fast operation as we
      already know the answer.
      e2fd3240
  2. 17 Aug, 2020 39 commits