I\'ve had to do this many times in the past, and I\'ve never been satisfied with the results.
Can anyone suggest a fast way of copying a contiguous bit array fro
Your inner loop takes pieces of two bytes and moves them to a destination byte. That's almost optimal. Here are a few more hints in no particular order: