|
Re: Possible Bug in Array Shift: msg#00164lang.ruby.rails.core
On Sat, 23 Sep 2006 20:41:14 -0400 Bob Hutchison <hutch@xxxxxxxxxxxx> wrote: > > 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. > Kirk had mentioned something along these lines but this is the first explanation that also shows where in the C code it's busted. Ok, but here's the problem, doesn't this also mean that the shifted array continually grows? It seems to me that shift basically makes Array act like an unbounded ring buffer. Hopefully this gets fixed in ruby very very soon. -- Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help. --~--~---------~--~----~------------~-------~--~----~ 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: Possible Bug in Array Shift, Bob Hutchison |
|---|---|
| Next by Date: | Re: ActiveSupport::Multibyte for better Unicode support, Pete Yandell |
| Previous by Thread: | Re: Possible Bug in Array Shift, Bob Hutchison |
| Next by Thread: | [BUG?] Rails installation -- first in a series, Hendy Irawan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |