diff options
author | Xavier Noria <fxn@hashref.com> | 2011-07-08 00:58:14 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-07-08 00:58:14 +0200 |
commit | ad912c08a91b90f6a7b30ae75b4a3a5f6c513bd4 (patch) | |
tree | 65d20f47dc4f2c08af7368100f859aa38eb34084 /actionpack/lib/action_dispatch/middleware/show_exceptions.rb | |
parent | e01aba15043fabf937bd6dbb818b6bce9a90651a (diff) | |
download | rails-ad912c08a91b90f6a7b30ae75b4a3a5f6c513bd4.tar.gz rails-ad912c08a91b90f6a7b30ae75b4a3a5f6c513bd4.tar.bz2 rails-ad912c08a91b90f6a7b30ae75b4a3a5f6c513bd4.zip |
use Zlib.crc2 rather that bytes.sum, as per Aaron's suggestion
That integer is rather irrelevant, the only thing that matters is that
it is consistent and with no apparent bias. Zlib.crc32 is 8-10 times
faster than bytes.sum, so use that.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/show_exceptions.rb')
0 files changed, 0 insertions, 0 deletions