[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Modes
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2007-07-07 12:11:25
Message-ID: 200707071411.26003.dhdev () gmx ! de
[Download RAW message or body]

On Saturday 07 July 2007, Christoph Cullmann wrote:
> Am Freitag, 6. Juli 2007 23:27:46 schrieb Dominik Haumann:
> > In other words: we have 140 * (count of wildcards per file) regular
> > expressions for every opened file. Starting a session with 14 files
> > the regular expression takes roughly 65% of the kate startup process.
> >
> > How do we fix that? We have to check the wildcards after all to figure
> > out which mode we have to load... ;)
>
> Perhaps it would make sense to store the wildcards as regex? We can
> combine all wildcards into one regex, without to many problems I guess
> and then precompile this one regex.

That's something we should try. It's a much simpler approach compared to 
rewriting the rules as suggested by Sebastian ;)

Dominik
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic