On Jan-02, Leopold Toetsch wrote: > Steve Fink wrote: > > >On Dec-31, Leopold Toetsch wrote: > > > >>I think, it moves the problems just around with a lot of overhead. E.g. > >>cloning a PerlArray of 10^6 entries would need 1000 generations > > >I don't understand. The outer clone belongs to generation N. Then if > >you called clone() individually on each PMC within the array, then by > >default you wouldn't create any more generations at all. > > Ah, ok. I thougt that at each dod run a new generation is started. But > you seem to manage generation count manually.
I was assuming the generation would be automatically incremented per op, either in the runops loop or (if that is too slow) in the implementation of selected ops.