Good work. That is one that needed to be optimized :)

Do you have profiler stats/results on other most called, or time most spent
in, functions? It would be good to list them so anyone out there could step
up to challenge themselves with optimizing those functions. Just an idea...


----- Original Message ----- 
From: "Matthew Mastracci" <[EMAIL PROTECTED]>


> I just checked in a change to fileset scanning that eliminates a large
> chunk of time (checked via profiling) during many of the common NAnt
> operations.
>
> One of the biggest losers on the profiling run was Regex.Match(), called
> many, many times during a build.  The new code replaces a good
> proportion of these with CompareInfo.Compare() calls, reducing the
> overhead dramatically.
>
> Instead of converting all <fileset> includes to regexes, the new code
> will only convert those that actually contain wildcards.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to