Opened 15 years ago
Closed 15 years ago
Last modified 15 years ago
#6045 closed patch (wontfix)
Use STL maps instead of fixed size array for sparse pid maps
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
By using stl maps instead of fixed arrays for the sparse pid maps in dvbrecorder.h, it is possible to save ~192k of memory for each instance of DvbRecorder?.
Attachments (1)
Change History (3)
Changed 15 years ago by
Attachment: | dvbrecorder_maps.diff added |
---|
comment:1 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Note: We might accept this as a compile time option if it were part of an overall effort to create a low mem version of mythbackend but if that is your aim please discuss in the developer mailing list first.
Note: See
TracTickets for help on using
tickets.
Speed trumps memory in this case, we have to deal with up to 27,000 TS packets per second.