[QVTO] compile transformation sources at forehand [message #536692] |
Sun, 30 May 2010 00:26 |
Eclipse User |
|
|
|
Originally posted by: vanbeerst.gmail.com
Hi,
I am using standalone QVTO (using the TransformationExecutor).
Correct me if I am wrong, but I think that now, when I invoke the
executor, the necessary QVT sources are first compiled before the
transformation is executed.
Is there a way to compile the sources at forehand and keep them in
memory somehow? I wrote a plugin which needs to call the same
transformations a bunch of times, but with different inputs, so I guess
it will increase the performance if I would be able to compile the
sources at forehand.
Dear regards,
Tony.
|
|
|
Re: [QVTO][SOLVED] compile transformation sources at forehand [message #537222 is a reply to message #536692] |
Tue, 01 June 2010 15:52 |
Eclipse User |
|
|
|
Originally posted by: vanbeerst.gmail.com
The functionality I was looking for, existed already.
I just had to invoke loadTransformation() on the executor at forehand,
the reason why I did not see this as a solution to my problem was that I
created a new executor before every transformation, but this is not
necessary, now I create an executor once and call loadTransformation on
it (or not and let the first execution of the transformation call this).
On 05/30/2010 02:26 AM, Tony Van Beers wrote:
> Hi,
>
> I am using standalone QVTO (using the TransformationExecutor).
> Correct me if I am wrong, but I think that now, when I invoke the
> executor, the necessary QVT sources are first compiled before the
> transformation is executed.
> Is there a way to compile the sources at forehand and keep them in
> memory somehow? I wrote a plugin which needs to call the same
> transformations a bunch of times, but with different inputs, so I guess
> it will increase the performance if I would be able to compile the
> sources at forehand.
>
> Dear regards,
> Tony.
|
|
|
Powered by
FUDForum. Page generated in 0.02680 seconds