issue381, multicache for cBioGen

Like I said, can you tip me for performance test ? 
And am I duplicating code ? 

std::vector?