On 24/08/2021 07:29, Jiří Činčura wrote:
> Hi *,
> 
> Can I reuse the IExternalContext instance from Plugin::makeFunction (etc.) 
> across multiple function executions, instead of using the instance from 
> Function::execute? I'm trying to cache some objects.
> 

In the way Firebird manages metadata in memory currently (every
attachment has its own in-memory metadata structures), it should be safe.

It was not safe when external engines API was being developed. Or if the
above statement changes one day.


Adriano


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to