|
Possible Bug in Array Shift: msg#00161lang.ruby.rails.core
Hi, I've described a problem with the implementation of Array shift in Ruby 1.8.4 here: <http://recursive.ca/hutch/index.php?p=361> I believe that this is the source of the problem Mongrel had experienced with the Mutex and a memory leak. I've described a possible (single line) solution to this in the article. What I am not completely sure of is what the intended semantics of shift actually is, consequently the suggested fix may be inappropriate. I'll leave that to someone else to decide. Cheers, Bob ---- Bob Hutchison -- blogs at <http://www.recursive.ca/ hutch/> Recursive Design Inc. -- <http://www.recursive.ca/> Raconteur -- <http://www.raconteur.info/> xampl for Ruby -- <http://rubyforge.org/projects/xampl/> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: bug in routes ???, Greg Hauptmann |
|---|---|
| Next by Date: | Re: Possible Bug in Array Shift, Bob Hutchison |
| Previous by Thread: | bug in routes ???, Greg Hauptmann |
| Next by Thread: | Re: Possible Bug in Array Shift, Bob Hutchison |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |