Trivial performance bugs

Bug #1337949 reported by Mingxing Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pbzip2
Fix Released
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.

Tags: perf
Revision history for this message
Mingxing Zhang (james0zan) wrote :
tags: added: perf
removed: pe
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.