Trivial performance bugs

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