I've committed some changes that stop (most of) the evil recursion on
the files you posted. Give them a try and let me know if they improve
the performance behavior (CPU will likely still peg for a while, but
the beach ball may not appear).  There are still a few areas where you
split up constructs that the grammar expects to be in a single line or
intersperse comments in the middle of expressions that are not handled
ideally, but this should be an improvement.  I'm withholding
additional commentary about the wisdom of having 6000 line source
files... :)

-David

On 10/9/06, Benjamin Ylvisaker <[EMAIL PROTECTED]> wrote:
On Tue, 10 Oct 2006 02:03:43 +0200
Allan Odgaard <[EMAIL PROTECTED]> wrote:

> On 9. Oct 2006, at 23:13, Benjamin Ylvisaker wrote:
>
> > I have a project that consists mostly of OCaml files, some of which
> > are rather large (many thousands of lines of code) [...]
>
> Btw: if this source is not secret, I can add it to the benchmark suite.

I'm working off of CIL, which is an open source project from Berkeley.
The biggest files are cil.ml and cabs2cil.ml, which I have attached.
Together they're about half a meg.

Benjamin



_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/mailman/listinfo/textmate-dev





_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to