Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by bouke

3 years ago

Why is the latter faster than the former?

1 comment

bouke

Reply

foepys  3 years ago

The latter has a fast path for arrays and lists, the former doesn't.

For Entity Framework (Core) and LINQ to SQL it doesn't matter, though.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities