Cache GSocketAddress in UdpBsdSocket
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 29 May 2012 01:02:31 +0000 (21:02 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 29 May 2012 01:24:33 +0000 (21:24 -0400)
commit428f70281ead8098cd3858293cbdf3c064c972a5
treee502076847747ea0b5a18b5b6a485597204bf8a1
parentcbd55b827bf6028b7f0f65167ae4b28d55a52989
Cache GSocketAddress in UdpBsdSocket

Creating a GSocketAddress takes a measurable amount of time, so let's cache it
as it doesn't change once a socket is created.
socket/udp-bsd.c