W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2010

Re: Calabash: cache the compiled pipeline

From: Florent Georges <fgeorges@fgeorges.org>
Date: Thu, 18 Nov 2010 11:18:15 +0000
Message-ID: <AANLkTikO4w4j3GzOcF4UJptrDUKKFCPyhpQz9VZN5xWt@mail.gmail.com>
To: Edwin de Jong <e.dejong@exxellence.nl>
Cc: XProc Dev <xproc-dev@w3.org>
On 18 November 2010 11:04, Edwin de Jong wrote:

> Perhaps my explanation was a bit pithy. Before reusing a pipeline,
> I call pipeline.reset() and pipeline.clearInputs("source").  Then
> the pipeline is back to its original state and can be used for
> another request. pipeline.reset() is recursively applied to all
> referenced pipelines.

  Ok, I undestand now, thank you!  So you can reuse the pipeline
object, but you cannot use it concurrently (I understand now why
your are using some pools).  Because the static (compile-time)
and dynamic (runtime) evaluation phases are mixed into the same
object...

  Regards,

-- 
Florent Georges
http://fgeorges.org/
Received on Thursday, 18 November 2010 11:19:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 November 2010 11:19:08 GMT