Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure Digest loading is thread-safe
I'm defining the hashers in constants to avoid any performance overhead by the mutex since we hash a lot of URLs Digest() is only thread safe in Ruby 2.2.0 and newer. Patch: ruby/ruby@c02fa39 I tried creating a test for this, but it's hard to provoke the error with the old code to verify the test. Closes #20
- Loading branch information