Moving memorized results to $C.mem, to share them between different $C() calls.