Opened 17 years ago
Closed 16 years ago
Last modified 15 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)
by , 17 years ago
| Attachment: | DVBStreamHandler_replaceQMap.diff added |
|---|
by , 17 years ago
| Attachment: | MPEGStreamData_replaceQMap.diff added |
|---|
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Milestone: | 0.22 → unknown |
|---|---|
| Priority: | minor → trivial |
| Severity: | medium → low |
comment:3 by , 16 years ago
comment:4 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:5 by , 15 years ago
| 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.