Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
notanaverageman
· 5y ago · 0 comments
Any method does an extra null check and a cast to ICollection<T> which incur unnecessary performance degradation. Of course this is in micro optimization scale. If you do not call Any() on a hot path it does not matter which one you use.
Comments
No comments yet.
Better HN