It's in plans to improve it (my plans before getting ill!). Basically
what causes it slow down is Vincent's timestamp checking code, which
runs on template file first, then decides whether something's changed of
not and so on. Unfortunately that means xjavadoc's performance hint
(don't parse at all if never needed) is useless, because anyway it's
always parsed because template is anyway run for timestamp checking.
PS: Anyone care to implement it? I'm not yet in a good condition. The
trick is: define an int runMode in XJavaDoc, set to true when Vincent's
code is to be run, reset when finished. In xjavadoc.ProxyClass, change
everywgere resolve() is called to first check this flag and don't
resolve if runMode==TIMESTAMP_PREPROCESSING_MODE. Note that to make
templates actually finish you have to return a semi-meaningful result
for each of the ProxyClass methods (public XMethod[] methods(){ if(
runMode==time... ) return NULL_METHODS;}. And so on.
Ara.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-devel-
> [EMAIL PROTECTED]] On Behalf Of Dmitri Colebatch
> Sent: Thursday, March 28, 2002 4:24 AM
> To: Bart Guijt; [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-devel] [RT] Persisting parsed data?
>
> > CVS version as of 30 minutes ago :)
>
> oh, ic (o:
>
> in that case I'll leave it for the guys who have been working on
it....
> but as I understand it, there has been significant effort
> put into lazy loading source, and improving the efficiency of it...
>
> I'm sure if you get into the code and can see some opportunities for
> improvement they'd be welcomed with open arms.
>
> cheers
> dim
>
> >
> >
> > ----- Original Message -----
> > From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
> > To: "Bart Guijt" <[EMAIL PROTECTED]>; <xdoclet-
> [EMAIL PROTECTED]>
> > Sent: Thursday, March 28, 2002 12:33 AM
> > Subject: Re: [Xdoclet-devel] [RT] Persisting parsed data?
> >
> >
> > > what version are you referring to? javadoc is slow yes, and that
was
> one
> > of the goals of xjavadoc, to improve the efficiency of
> > > that part of the process.
> > >
> > > are you referring to cvs, or a release?
> > >
> > > cheers
> > > dim
> >
> >
> >
> >
> > _______________________________________________
> > Xdoclet-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> >
>
>
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel