Walter Bright wrote:
dsimcha wrote:Good point, the bits in the internal memoization AA will contain a reference. I forgot about that. This leads to another problem, though: Wouldn't this cause alot of soft memory leaks, since you're holding references to stuff that's otherwise no longer needed?The job of managing those kind of design tradeoffs is something that the programmer should handle.
*cough* And with weak pointer/reference types we could handle it quite nicely. *cough* ;)