in reply to String Compression Optimization (repeated concatenated subsequences)
Perhaps it isn't the same problem, but you could read the discussion at Converting BCBCBCBCBCCCB to (BC)^{5}CCB.