-
Dylan Baker authored
This combines the two loops into a single loop using enumerate. This should be a little faster since we loop over the data only once, and since it uses enumerate instead of math. v2: - explicitly name enumerate's start parameter to make it clearer Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
16dc07b3