Filtering of collection classes can be done in various ways. The performance tests included here compare their speed, so you get an idea of what is fast and what not.
Here you can find an article on StackOverflow that discusses the different filter methods a little bit.