[mythtv-commits] mythtv commit: r20656 - in trunk/mythtv by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Jun 1 03:10:12 UTC 2009


      Author: danielk
        Date: 2009-06-01 03:10:12 +0000 (Mon, 01 Jun 2009)
New Revision: 20656
   Changeset: http://cvs.mythtv.org/trac/changeset/20656

Removed:

   trunk/mythtv/libs/libmythtv/eit.cpp
   trunk/mythtv/libs/libmythtv/eit.h

Modified:

   trunk/mythtv/libs/libmythtv/channelutil.cpp
   trunk/mythtv/libs/libmythtv/channelutil.h
   trunk/mythtv/libs/libmythtv/eitfixup.cpp
   trunk/mythtv/libs/libmythtv/eitfixup.h
   trunk/mythtv/libs/libmythtv/eithelper.cpp
   trunk/mythtv/libs/libmythtv/eithelper.h
   trunk/mythtv/libs/libmythtv/libmythtv.pro
   trunk/mythtv/libs/libmythtv/programdata.cpp
   trunk/mythtv/libs/libmythtv/programdata.h
   trunk/mythtv/programs/mythfilldatabase/filldata.cpp
   trunk/mythtv/programs/mythfilldatabase/mythfilldatabase.pro
   trunk/mythtv/programs/mythfilldatabase/xmltvparser.cpp
   trunk/mythtv/programs/mythfilldatabase/xmltvparser.h

Log:

Refs #6478. This merges DBEvent in the EIT program data classes with ProgInfo in the XMLTV program data classes.


The insertion algorithms have not been merged, just the base data representation class. In my runs of mythfilldatabase this reduces the memory footprint of mfd by 15-20% by using the more compact representation developed for EIT for the common data and by compacting the QStrings. The wall clock time is the same before and after.

This also adds some cleanups from #6478 -- mostly to address changes in QSqlQuery fro Qt3 to Qt4 and to workaround the Qt bindings prefix bug in some early Qt4 implementations (bugfixes).

I've tested with DataDirect, XMLTV, EIT and a combined DataDirect/EIT video source, but there may be problems which I did not see with my sources.

NOTE: The plan is to merge the data insertion algorithms, but not until after this data representation changeset has been in the tree a week or two.




More information about the mythtv-commits mailing list