]> granicus.if.org Git - transmission/commit
(trunk libT) avoid about 75% of the strdup/malloc/frees in benc by using a union...
authorCharles Kerr <charles@transmissionbt.com>
Mon, 1 Jun 2009 22:15:50 +0000 (22:15 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Mon, 1 Jun 2009 22:15:50 +0000 (22:15 +0000)
commit9bfec90e434361c7d8c2629940d1845cfa54557c
treebdba3393a1fa0ba327c66468352ada4dbd0836a3
parent7f85090587dc93a9f4c0a639f26f89ca496d350e
(trunk libT) avoid about 75% of the strdup/malloc/frees in benc by using a union of char* and a small string buffer, and using the buffer if the string is small enough
libtransmission/bencode.c
libtransmission/bencode.h