From: Robert Klemme Date: 2012-10-30T00:07:14+09:00 Subject: Re: Marshal.load weird issue On Mon, Oct 29, 2012 at 3:31 PM, Pierre J. wrote: > You are right, they are not equal. > >> temp = Marshal.dump(ps) >> temp2 = Marshal.dump(ps) >> temp == temp2 > => false > > It seems the difference is at the end of the string. The first one > finishes with: > > "\x00\x1E\x19;\x160;\x17{\x00;\x18{\x00;\x19{\x00;\e{\x00;\x01\x80{\x00;\x01\x81F;\x01\x82F;\x01\x83F;\x01\x84F" > > The second one (temp2) finishes with: > > "\x00\x1E\x19;\x160;\x17{\x00;\x18{\x00;\x19{\x00;\e{\x00;+{\x00;,F;-F;.F;/F" > > I have to say it does not mean much to me. I have tried to "unpack" them > but I am not sure what I am doing and the results seem always the same. I think we need to know more about what ps actually is. This looks like ps changes between invocations. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/