On 23 August 2015 at 21:42, fred <fred_wei...@hotmail.com> wrote: It strikes me that memoizing to_value may be useful. On second thought, > it wouldn't be that useful. But, to_value should be optimized. I'll > have a look (when I get cycles). >
In this particular case the cell content are numbers, right? So every call to Cell::to_value() (most of the 66007104 of them) would be creating a new Value to hold it, yes? This would also be responsible for 66007104 Value_P destructor calls. Regards, Elias