Opened 15 years ago
Closed 14 years ago
Last modified 14 years ago
#6340 closed enhancement (fixed)
Replace QMap with QHash where possible
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | MythTV - General | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | yes |
Description
Since QMap is rather expensive for lookups but also inserts, we should use QHash where we don't rely on a sorted vector.
Attachments (2)
Change History (7)
Changed 15 years ago by
Attachment: | DVBStreamHandler_replaceQMap.diff added |
---|
Changed 15 years ago by
Attachment: | MPEGStreamData_replaceQMap.diff added |
---|
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Milestone: | 0.22 → unknown |
---|---|
Priority: | minor → trivial |
Severity: | medium → low |
comment:3 Changed 15 years ago by
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 14 years ago by
Ticket locked: | set |
---|
Note: See
TracTickets for help on using
tickets.
The former two patches reduce the time spent in related Qt functions by approx. 50% during recording.