HashProcess for memorizing computed result that are only computed when called
fixes to scoping
profiling with ruby-prof