From: Paris Sinclair Date: 2005-01-23T18:43:10+09:00 Subject: Re: looking at ruby... On Sun, 23 Jan 2005, Paris Sinclair wrote: > somebody tell me I am just drunk. Okay, I see one thing already, Marshal is a lot smarter than Storable. Storable requires a reference, which is why I did \(rand), and then it has to create this unreadable trash. Whereas, Marshal is able to recognize something is simple, a String or Float or whatever. And is smart enough not to do so much work!! So it make it more fair, I switched JUST each rand to [rand,rand,rand] And then I got Storable 16, Marshal 30. Since normally these are used for data structures not just strings, I would say, Storable is slow, and Marshal is twice as slow. -- RubyPanther