05-02-27 12.35, skrev Jamie McCracken följande: > Hi, > > Rather than continuing the GC stuff which seems fruitless I thought it > might be better to improve what we have with ref counting (whilst taking > a leaf out of the GC book as well).
A more simplictic alternative could be to have objects (declared to be managed) managed in the same way as ansistrings. This would be easy to implement since the ansistring facilty could be reused. Also a block of memory could be declared to be managed in this way. Drawback for objects is that they could not refere to other objects in a circular manner, so this has to be handled manually. This feature could be especially useful for functions which returns objects or memory chuncks of arbitrary size like bitmaps. Olle _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel