diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-08-28 06:11:45 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-08-28 06:18:14 +0000 |
commit | 108d6afd7ff390bb594c99ba23c91163fa98d8c0 (patch) | |
tree | db48c5fe7a4667ce152b6df48411cccce2c25c0a /lib | |
parent | 33eeda85248c9132366f94f1e1a83365bb33b5a7 (diff) | |
download | rainbows-108d6afd7ff390bb594c99ba23c91163fa98d8c0.tar.gz |
Rack::Lint uses String#inspect to generate assertion messages whether or not the assertions are triggered at all. Unfortunately String#inspect is hilariously slow under 1.9.2 when dealing with odd characters and large strings. The performance difference is huge: before: 1m4.386s after: 0m3.877s We already have Rack::Lint enabled everywhere else, so removing this where performance matters most shouldn't hurt us.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions