At 12:35 27-2-2005, you wrote:
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).

I note that ref counting is very fast without all the implicit try..finally stuff so I was wondering if it was possible to implement it without them (whilst still being able to free them even if an exception occurs).

Why are you looking at GC/Refcounting when the problem is the try..finally? It is better to rewrite the try..finally code using the C++ ABI for exception handling.



My proposal is to do the following (its a hybrid ref count/GC):

1) Remove all implicit try..finally in ref counting.

Already supported: {$implicitexceptions off}


Peter


_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to