gstobject: more default name generation more efficient
authorStefan Kost <ensonic@users.sf.net>
Tue, 19 Oct 2010 11:27:20 +0000 (14:27 +0300)
committerStefan Kost <ensonic@users.sf.net>
Fri, 3 Dec 2010 07:50:31 +0000 (09:50 +0200)
commit1c50dcd54fb1cd07988b5d928bea9840f80a603c
treefabaca898d3272ddaa940fe40b9c20b6c4acc533
parentaa440a1e247f0f2a9aaa39832323cbc63da5503c
gstobject: more default name generation more efficient

Save ~2000 malloc/memcpy/free pairs at startup by running to_lower in-place.
Also skip the numbers as we can.
gst/gstobject.c