[climacs-devel] cached grammar

Christophe Rhodes csr21 at cam.ac.uk
Tue Apr 12 18:11:03 UTC 2005


Hi,

Is the attached what you (Robert) were thinking of for cacheing some
portions of HANDLE-ITEM?

If so, well, here it is, along with an optimization to ITEM-EQUAL.
Unfortunately, it's still too slow -- in the attached prolog file in
Prolog Syntax, typing in the comment at the top of the buffer has
noticeable lag on my 2.8GHz x86.  About 50% of the time is spent in
HANDLE-ITEM and callees, according to sb-sprof, of which about half is
in ITEM-EQUAL.

Any ideas?  (Can other people reproduce this kind of performance
characteristic, for one?)  Is it possible that the grammar is in some
way badly formed, and is there a way of checking this automatically?

Cheers,

Christophe

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: grammarhash.diff
URL: <https://mailman.common-lisp.net/pipermail/climacs-devel/attachments/20050412/56515fc0/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.pl
Type: text/x-prolog
Size: 456 bytes
Desc: foo.pl
URL: <https://mailman.common-lisp.net/pipermail/climacs-devel/attachments/20050412/56515fc0/attachment.bin>


More information about the climacs-devel mailing list