title: When select is faster than a for?
body: <p>Imagine the situation, I have an Id of an Entity and I have a liked list with some entities of the same class. To find the the entity, when is faster do a for in the linked list or do a select at the database?</p>
  
  <p>I mean, when I have about 5 entities in a linked list, for example, I imagine that a for is faster, and when I have millions of entities the select will be faster. </p>
  
  <p>But when the select starts to be faster than the for? </p>