more memory efficient filter(Function, Vector)

I don't know how you guys feel about bunches of optional parameters, but it might be good add a size hint for the result.

Would that be overkill?