#1 ✓resolved
Matt Todd

[PATCH] Rack::Request memoization

Reported by Matt Todd | December 25th, 2008 @ 12:44 AM | in 0.9

Rack::Request should be memoized in the environment hash it's given so that subsequent calls to Rack::Request.new won't have to recalculate the same data to reduce the cost of numerous instantiations.

Just adding a ticket here to complement the email discussion going on (started by Yehuda Katz/wycats).

Pull request sent via GitHub, refers to the following commits:

http://github.com/mtodd/rack/

  • eefbed89c4ece749e889132012d0f67cd87926a8
  • 3873269bea8d29e3ae4f1f46eb11822f9eae795f
  • 552f7b0718ee8cd79c185cd72413690f0da72402

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Pages