]> git.street.me.uk Git - andy/viking.git/commit
QA: factorize GObject cast operations (datasource_osm.c)
authorGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 27 May 2013 11:09:47 +0000 (13:09 +0200)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 27 May 2013 11:09:47 +0000 (13:09 +0200)
commit8d79a14b63495650212a087541b1b76e06832386
tree43ef32c6273647494a4605f6353c32b04c642748
parent257848bd0160f2e4b23f65d53dd6690bc99bd10a
QA: factorize GObject cast operations (datasource_osm.c)

GObject cast operation consume CPU, so it could be useful to reduce the
number of call (even if it is low consumption).
Furthermore, it is better to have small source code lines.
src/datasource_osm.c