On 27.01.2017 22:55, Jonas Maebe wrote:

The collector only runs very occasionally. If you need instant freeing, a garbage-collected platform is not what you want.
True. It of course should not trigger the garbage collection process (AFAIK, this is possible by a certain API call, but totally inappropriate to do so for every pascalish "free").

Nonetheless it seems viable to instruct the garbage collector that the memory assigned to the instance can be collected when it runs next time.

-Michael
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to