I have removed (and commited) the QRegExp's from the envvar and the definitions. I've tested it when loading kdebase and it doesn't make any difference.<br><br>I still hope that using the cache it will be a little faster. :P<br>
<br>Bye,<br>Aleix<br><br><div class="gmail_quote">On Tue, Apr 1, 2008 at 4:11 PM, Andreas Pakulat <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 01.04.08 15:48:39, Aleix wrote:<br>
> If you grep QRegExp on the parser directory you will see that it is only on:<br>
> - CMakeAst, command parser:<br>
>     * To collect the cmake_minimum_required version value.<br>
>     * The same for cmake_policy (2.6)<br>
> - Condition evaluator:<br>
>     * For the MATCHES case (from cmake, can't remove it).<br>
> - Project Visitor:<br>
>     * To get the information from the envvar list (it could be changed, and<br>
> I will, but I don't think it is significant)<br>
>     * On the STRING command on regex-related options.<br>
>     * ADD_DEFINITION command: to extract info from the definitions. (it<br>
> could be changed, and I will, it appears quite often so maybe it could be<br>
> significant)<br>
>     * REMOVE_DEFINITION command: the same but barely used.<br>
><br>
> It is used on the manager 1 time so it is not a problem as well.<br>
><br>
> I'll remove now the few I think that could be removed but, as I said, I<br>
> think the big load of regex is used by the cmake scripts themselves.<br>
<br>
</div>Ok, so maybe we should think about not using Qt's regex support, but<br>
instead something else, like pcre? Or check what cmake itself uses.<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You are fighting for survival in your own sweet and gentle way.<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div><br>