Currently translator needs to link the whole project any time it is called.
This will get very slow in the future. Translator must create some statistics for entities declared and cache it in memory (or Redis).
We should define rules to check if project integrity is broken. For example if statistics says that an element is imported somewhere, it should cause full project linking if an element id is changed. Otherwise we can safely link a single file using existing statistics.
Currently translator needs to link the whole project any time it is called. This will get very slow in the future. Translator must create some statistics for entities declared and cache it in memory (or Redis). We should define rules to check if project integrity is broken. For example if statistics says that an element is imported somewhere, it should cause full project linking if an element id is changed. Otherwise we can safely link a single file using existing statistics.