title: Inverse lookup table
body: <p>This is a follow up question from a previous <a href="https://stackoverflow.com/questions/1544456/faster-version-of-dec2bin-function-for-converting-many-elements">SO question</a>. Now I have a bit which I have spread it into 8 bits. I have use Amro's solution to spread the bit to 8 bits. Now I want an inverse way to convert the 8bits back to the single bit.</p>
  
  <p>I have only managed to implement the inverse using for loop which take alot of time in the application.</p>
  
  <p>Is there a faster way of doing it?</p>