it works fine for me :)

On 3/20/07, Juraj Skripsky <[EMAIL PROTECTED]> wrote:

Hi Miguel and Juan,

I've just noticed the commit to List.FindAll(). Attached is an (small)
optimization for the optimization:

- the resulting List<T> is built directly as an array which is later on
wrapped by a List<T> object. This eliminates the unnecessary overhead of
List.Add().
- the filling of the result array stops as soon as all found items are
processed. If there are no matches at the end of the original list, this
will give an small performance win.

The test-run of the resulting code ran fine and it should always be
faster than the version in svn.


May I commit (with a changelog entry of course)?

- Juraj

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list





--
Juan Cristóbal Olivares
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to