Hi. I am still writing on my complex number class. When trying to add addition and subtraction methods, I came across the following problem:
PMC functions writing results in a destination PMC like add(PMC *dest, PMC *val) overwrite the destination PMC's vtable and cache with new values without testing if it contains any old data that should be freed first. (see for example perlstring.pmc). Is this something I 1) shouldn't worry about, because the memory is cleaned--and I am just too stupid to see that 2) shouldn't worry about, because it will vanish with the addition of a GC 3) should find a soulution for, because it is a problem Boris. ------------------------------ Boris Tschirschwitz University of British Columbia Mathematics Department email: [EMAIL PROTECTED]