ParentFull threadcat199·not a js guy - any reason this needs any lookup table at all?quick googling seems to suggest simple bitshifting could be possible..View on HN