Re: Question concerning speedup of Jade

Subject: Re: Question concerning speedup of Jade
From: Peter Nilsson <pnidv96@xxxxxxxxxxxxxx>
Date: Wed, 5 May 1999 21:21:13 +0200 (CEST)
On 4 May 1999, Joerg Wittenberger wrote:

> I believe this would be a worthy extension.  Some kind of
> cacheing/precompiling/memoized construction of the style.  Building
> the transformation spec out of DSSSL source can obvoiusly be quite
> complicated.
> 
> Unfortunately I don't have an idea whether this is feasible in jade.
> 
The scheme code (style sheet) is actually compiled after it is loaded, so
it probably won't be hard to write the "byte code" (Insn objects) out to a
file and read it in the next time the style sheet is needed. But I don't
know how much time that would save in comparison to the actual grove
processing/fot construction. In fact, we could mmap the compiled code and
run it directly avoiding to build the Insn tree in memory

A way to check if this would save time is to log what jade is doing
"parsing", "compiling", "building fot"... (Poor man's profiling) Anyone
with an enough slow computer who want to do this and check?

/Peter
machine would like 

--
'(?P . (?e . (?t . (?e . (?r)))))


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread