Ignore:
Timestamp:
Jan 2, 2009, 8:42:35 PM (13 years ago)
Author:
charles
Message:

(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_ratecontrol, contain the it directly rather than a pointer to one allocated elsewhere on the heap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r7578 r7584  
    3131
    3232#include "completion.h" /* tr_completion */
     33#include "ratecontrol.h" /* tr_ratecontrol */
    3334#include "session.h" /* tr_globalLock(), tr_globalUnlock() */
    3435#include "utils.h" /* tr_bitfield */
     
    147148    tr_speedlimit            speedLimitMode[2];
    148149
    149     struct tr_ratecontrol *  swarmSpeed;
     150    struct tr_ratecontrol    swarmSpeed;
    150151
    151152    int                      error;
Note: See TracChangeset for help on using the changeset viewer.