Commented some print statements that were used for debugging and forgot to remove previously.

This commit is contained in:
ZeroCool940711 2022-09-12 12:01:16 -07:00
parent 25d18fb7fe
commit f80a2f69ca

View File

@ -568,11 +568,11 @@ def optimize_update_preview_frequency(current_chunk_speed, previous_chunk_speed,
"""Find the optimal update_preview_frequency value maximizing
performance while minimizing the time between updates."""
if current_chunk_speed >= previous_chunk_speed:
print(f"{current_chunk_speed} >= {previous_chunk_speed}")
#print(f"{current_chunk_speed} >= {previous_chunk_speed}")
update_preview_frequency +=1
previous_chunk_speed = current_chunk_speed
else:
print(f"{current_chunk_speed} <= {previous_chunk_speed}")
#print(f"{current_chunk_speed} <= {previous_chunk_speed}")
update_preview_frequency -=1
previous_chunk_speed = current_chunk_speed