rep_cnt is count of contiguous bytes with same value. First ever sample must set count to 1. Wasn't filling the cache up completely. Off by one in check for initial fill.
rep_cnt is count of contiguous bytes with same value. First ever sample must set count to 1. Wasn't filling the cache up completely. Off by one in check for initial fill.