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: ard.biesheuvel@… 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)

dvbrecorder_maps.diff (1.8 KB) - added by ard.biesheuvel@… 15 years ago.

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by ard.biesheuvel@…

Attachment: dvbrecorder_maps.diff added

comment:1 Changed 15 years ago by danielk

Resolution: wontfix
Status: newclosed

Speed trumps memory in this case, we have to deal with up to 27,000 TS packets per second.

comment:2 Changed 15 years ago by danielk

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.