Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#706 closed Enhancement (fixed)

reduce memory overhead in tr_file structure

Reported by: charles Owned by: charles
Priority: Normal Milestone: 1.10
Component: libtransmission Version: 1.05
Severity: Normal Keywords:
Cc:

Description

When you have a large number of torrents with lots of files, the tr_file field "name" takes up about 25% of Transmission's load due to its fixed width. If we change this field to be dynamically allocated, we can save that space.

Attachments (2)

memory.png (90.2 KB) - added by charles 14 years ago.
memory use: before and after changing the fixed-width field to dynamic allocation
memory-2.png (57.3 KB) - added by charles 14 years ago.
after second patch

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by charles

memory use: before and after changing the fixed-width field to dynamic allocation

comment:1 Changed 14 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed

trunk: r5031

comment:2 Changed 14 years ago by charles

r5034: save a little more by doing the same to the creator' and comment' field.

Changed 14 years ago by charles

after second patch

Note: See TracTickets for help on using tickets.