Ara.T.Howard wrote:

>~ > ruby test.rb
>pstore dump time @ 0.988970994949341
>pstore load time @ 1.86728405952454
>yamlstore dump time @ 42.3903992176056
>yamlstore load time @ 47.6173989772797
>  
>
First off, you aren't performing just a straight 'load' in the second of 
your paired tests.  Everytime a PStore transaction takes place, the file 
is loaded at the opening of the transaction and closed at the end.  
Perhaps it would be worthwhile to check the hash of an object to see if 
it has changed?

So, it looks like the YAML emitter needs to be optimized.  The write 
operation is what is consuming time.  Right now, the YAML emitter 
consists largely of Ruby code.  I'll comb through it today and see what 
I can find.

_why