Repository navigation
optimize - #12254
optimize#12254
Conversation
|
Bzip2 is not very widely used, I think, and it's also slower than more modern alternatives like lz4 and zstd. |
Are you meaning the code submitted by me changed the output result of the algorithm? |
|
Yeah, the output depends on the values in |
But the code submitted by me just break the inner loop when condensedInUse[i] set as true, and then continue the outter loop. I mean that it doesn't change the values of the condensedInUs, so I can't understand why the output will be changed? I guess the code submitted was folded, you read the imcomplete code. |
|
Ah, right, it's the |
|
@coderbruis thanks! |
Motivation: There is no need to finish inner loop when condensedInUse[i] setting as true. Result: Small optimization
Motivation: There is no need to finish inner loop when condensedInUse[i] setting as true. Result: Small optimization
Motivation: There is no need to finish inner loop when condensedInUse[i] setting as true. Result: Small optimization
Motivation:
There is no need to finish inner loop when condensedInUse[i] setting as true.
Result:
Small optimization