Recreating translation providers resets any cached values, e.g. available models, and retrieving them can be slow. Added a provider cache so that the providers should only need to be created once each.
There is a trade-off, making sure that the provider settings are updated when options change. A convenient balance is to create a new cache when a new project is started/loaded, since that creates a new datamodel.
Recreating translation providers resets any cached values, e.g. available models, and retrieving them can be slow. Added a provider cache so that the providers should only need to be created once each.
There is a trade-off, making sure that the provider settings are updated when options change. A convenient balance is to create a new cache when a new project is started/loaded, since that creates a new datamodel.