[varStore] Fix algorithm comment to match code

This commit is contained in:
Behdad Esfahbod 2023-05-24 17:08:20 -06:00
parent 1aa088e150
commit 6b20edf1fb

View File

@ -519,7 +519,7 @@ def VarStore_optimize(self, use_NO_VARIATION_INDEX=True):
# this the "best new encoding".
# - Sort todo list by decreasing gain (empirical).
# - While todo list is not empty:
# - Pop the first item from todo list, as current item.
# - Pop the last item from todo list, as current item.
# - For each each encoding in the todo list, try combining it
# with the current item. Calculate total gain as the gain of
# this combined encoding minus the gain of combining each of