Trivial performance bugs

Bug #1337949 reported by Mingxing Zhang on 2014-07-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pbzip2
Wishlist
Yavor Nikolov

Bug Description

When testing a performance bug-detecting tool on pbzip2, we find two variables (QUEUESIZE, InBytesProduced) that are updated but not used, and a function call result that can be reused.

The corresponding patch is attached.

Mingxing Zhang (james0zan) wrote :
tags: added: perf
removed: pe
Yavor Nikolov (yavor-nikolov) wrote :

Thank you!
The patch looks good. (Some space -> tabs reformatting is needed but I'll handle that).

Changed in pbzip2:
status: New → Confirmed
importance: Undecided → Wishlist
Changed in pbzip2:
status: Confirmed → Fix Committed
assignee: nobody → Yavor Nikolov (yavor-nikolov)
milestone: none → 1.1.13
Changed in pbzip2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers