// Note: changes the compressor static LS lcStream_repeatedPrediction2(int n, LCStreamingCompressor comp) { new LS out; repeat n { S s = lcStream_prediction2(comp); if (empty(s)) break; out.add(s); comp.append(s); } ret out; }