Sha256: a6f1cf1b5aab5f3c825581e292e3ffe20b31c1e5b9c8da04a24ee28d99ad9361

Contents?: true

Size: 385 Bytes

Versions: 18

Compression:

Stored size: 385 Bytes

Contents

module Moneta
  module Adapters
    # Prefer Dalli over native Memcached!
    #
    # I measure no performance gain over the Dalli backend
    # using the Moneta backends.
    begin
      require 'moneta/adapters/memcached/dalli'
      Memcached = MemcachedDalli
    rescue LoadError
      require 'moneta/adapters/memcached/native'
      Memcached = MemcachedNative
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
moneta-1.1.1 lib/moneta/adapters/memcached.rb
moneta-1.1.0 lib/moneta/adapters/memcached.rb
moneta-1.0.0 lib/moneta/adapters/memcached.rb
moneta-0.8.1 lib/moneta/adapters/memcached.rb
moneta-0.8.0 lib/moneta/adapters/memcached.rb
moneta-0.7.20 lib/moneta/adapters/memcached.rb
moneta-0.7.19 lib/moneta/adapters/memcached.rb
moneta-0.7.18 lib/moneta/adapters/memcached.rb
moneta-0.7.17 lib/moneta/adapters/memcached.rb
moneta-0.7.16 lib/moneta/adapters/memcached.rb
moneta-0.7.15 lib/moneta/adapters/memcached.rb
moneta-0.7.14 lib/moneta/adapters/memcached.rb
moneta-0.7.13 lib/moneta/adapters/memcached.rb
moneta-0.7.12 lib/moneta/adapters/memcached.rb
moneta-0.7.11 lib/moneta/adapters/memcached.rb
moneta-0.7.10 lib/moneta/adapters/memcached.rb
moneta-0.7.9 lib/moneta/adapters/memcached.rb
moneta-0.7.8 lib/moneta/adapters/memcached.rb