[mythtv-commits] mythtv commit: r20826 by shane

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Jul 7 21:54:39 UTC 2009


      Author: shane
        Date: 2009-07-07 21:54:39 +0000 (Tue, 07 Jul 2009)
New Revision: 20826
   Changeset: http://cvs.mythtv.org/trac/changeset/20826

Modified:

   trunk/mythtv/libs/libmythdb/mythdb.cpp

Log:

Optimize the settings cache for the cache hot case.

This change saves a couple of qhash lookups in the cache hot case.

It also allows caching of default values when there is no entry in
the settings table for that item. Otherwise we keep trying the DB
for non existent settings.




More information about the mythtv-commits mailing list