Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update changes, version v2.6.1

  • Loading branch information...
commit f0dd2516d827c6853d2141f699ecdfe8d01d49e6 1 parent b47e402
@mperham authored
View
1  Gemfile
@@ -4,6 +4,7 @@ gemspec
gem 'rake'
gem 'kgio', :platform => :mri
+gem 'RubyInline', :platform => :mri
group :test do
gem 'simplecov'
View
10 History.md
@@ -1,9 +1,17 @@
Dalli Changelog
=====================
-HEAD
+2.6.1
=======
+- Add optional native C binary search for ring, add:
+
+gem 'RubyInline'
+
+ to your Gemfile to get a 10% speedup when using many servers.
+ You will see no improvement if you are only using one server.
+
+- More get_multi performance optimization [xaop, #315]
- Add lambda support for cache namespaces [joshwlewis, #311]
2.6.0
View
2  lib/dalli/ring.rb
@@ -103,7 +103,7 @@ def entry_count_for(server, total_servers, total_weight)
}
EOM
end
- rescue Exception => e
+ rescue

This change broke rails since it doesn't add RubyInline

Hey @mperham, I believe this should rescue at least LoadError from the inline require. Rails build broke due to the missing require.

@mperham Owner
mperham added a note

Curses, I thought LoadError was a StandardError.

@mperham Owner
mperham added a note

2.6.2 is out.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
# Find the closest index in the Ring with value <= the given value
def binary_search(ary, value)
upper = ary.size - 1
View
2  lib/dalli/version.rb
@@ -1,3 +1,3 @@
module Dalli
- VERSION = '2.6.0'
+ VERSION = '2.6.1'
end
Please sign in to comment.
Something went wrong with that request. Please try again.