title: Neo4j gem - Checking each object against a relationship effecient?
body: <p>Just wanted an opinion on this in terms of design and efficiency.</p>
  
  <p>Let's say you have a social network for liking music.</p>
  
  <p>If you have query like <code>music.users</code> and out of those users you want to identify your friends. Visually you want to add a feature to identify these friends, maybe all your friends have a star on their profile and non friends are left alone. </p>
  
  <p>Is it really inefficient/expensive to be checking each user to see if they are a friend? Alternate methods?</p>