You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This loop continue30 is unnecessary because it will eventually break at line 1018. If we remove this loop and change all the break 'continue30; into continue and change all the break 'break29; into break, the execution time will decreased from 3.76s to 3.43s based on my test, which is a 1.1x speedup.
Hope this information helps!
The text was updated successfully, but these errors were encountered:
@danielrh Is it a bug or an unnecessary loop? The last statement in this loop is a break, indicating it is executed once whatsoever. I don't see why 'continue30: loop{...} is needed.
rust-brotli/src/enc/backward_references/hq.rs
Line 920 in 5d82b69
This loop
continue30
is unnecessary because it will eventually break at line 1018. If we remove this loop and change all thebreak 'continue30;
intocontinue
and change all thebreak 'break29;
intobreak
, the execution time will decreased from 3.76s to 3.43s based on my test, which is a 1.1x speedup.Hope this information helps!
The text was updated successfully, but these errors were encountered: