[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: highlighting-kate is sometimes too heavy



+++ Joachim Breitner [Mar 06 10 23:10 ]:
> Hi,
> 
> Am Samstag, den 06.03.2010, 13:39 -0800 schrieb John MacFarlane:
> > > I've used both your suggestions (using Set instead of list for
> > > keywords, and using the trick with "words" to keep ghc from
> > > inlining), and produced a new version, 0.2.6.1, which is now
> > > on HackageDB.
> > > 
> > > A comparison:
> > >                                     old       new
> > > compile time inc. executable        5:45      3:39
> > > time to highlight a 102K file       1:69      1:59
> > > size of Highlight executable       10.5M      5.7M
> > > 
> > > Great improvements all around!  Thanks!  I hope this version
> > > can be packaged for debian.
> 
> Thanks, uploaded right now.
> 
> I hope the few instances of 
> Text/Highlighting/Kate/Syntax/Haskell.hs:82:0:
>     Warning: Defined but not used:
>                `list3b59bd0ef39487d2ddb0869a1f7c083cb363d74b'
> are known and not a problem.

The problem is in the underlying haskell.xml file, which defines a list
named "infix operators" but never uses it... My guess is that this is
a remnant from an older version, since now these keywords are in
the "functions" list.  Anyway, it isn't a problem.

John


Reply to: