lazy load the geoLocation data.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 29 May 2010 23:39:31 +0000 (19:39 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 29 May 2010 23:41:41 +0000 (19:41 -0400)
commit640b8cfa6e428926f2efae356808ba0ed194a78f
tree18e112ccc51254817e26536c78d7e6ddff56977f
parent5b8ebd2770f430b618924b61dbccaea0bf14e478
lazy load the geoLocation data.

Don't query the geoLocation datastore for every event, only query the datastore
when we actually ask for the data. Also add logging for the geo related queries.

This, along with the previous commits for the way tag queries are done should
significantly improve performance when calling listEvents(), especially for large
datasets.
kronolith/lib/Event.php
kronolith/lib/Geo/Mysql.php
kronolith/lib/Geo/Sql.php
kronolith/lib/Resource/Single.php