[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.imp] Re: Possible performance bug in LPG?

Hi Dieter

> This bug can be fixed very easy by adding the following lines to the
> reset method in the DeterministicParser:
>     locationStack = null;
>     parseStack= null;
>     stateStack= null;

A bug with LPG should be raised against LPG and perhaps discussed
on an LPG newsgroup.

I am merely pointing out how difficult it is to avoid locking parsed
artefacts in memory and consequently how reuse of a parser perhaps
aggaravates the difficulties.

	Regards

		Ed Willink